/**
 * Magic-byte sniffer for the file types Telegram bots most commonly upload.
 * Replaces the legacy `file-type` dependency. Best-effort; returns `null` if
 * the format isn't recognised.
 */
export interface DetectedType {
    ext: string;
    mime: string;
}
export declare function detectFileType(buf: Buffer): DetectedType | null;
//# sourceMappingURL=file-type.d.ts.map