type Options = {
    extra?: boolean;
    hint?: {
        ext?: string;
        mime?: string;
    };
};
type Result = {
    ext: string;
    mime: string;
};

declare function parse(buffer: ArrayBuffer, { extra, hint }?: Options): Result | undefined;

export { type Options, type Result, parse };
