//#region src/magic-bytes.d.ts
/** Detected image MIME types supported by the magic-byte gate. */
type DetectedImageMime = 'image/jpeg' | 'image/png' | 'image/webp' | 'image/avif' | 'image/gif';
/**
 * Detect image MIME type from the first bytes of a file.
 * Header-only, zero-dep. Rejects SVG/HTML/script/XML and loose bare-`ftyp` AVIF.
 */
declare function detectMimeFromMagicBytes(header: Uint8Array): DetectedImageMime | null;
//#endregion
export { DetectedImageMime, detectMimeFromMagicBytes };