export type DetectedFileType = {
    type: 'text';
} | {
    type: 'image';
    mediaType: 'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp';
} | {
    type: 'pdf';
    mediaType: 'application/pdf';
} | {
    type: 'unsupported-binary';
};
export declare function detectFileType(filepath: string, fileSize: number): Promise<DetectedFileType>;
//# sourceMappingURL=file-type.d.ts.map