import { IFileTypeDetector } from "./i-file-type-detector";
import { FileFormatKind } from "../format/file-format-kind";
/**
 * A service that helps with identifying the type of a file
 */
export declare class FileTypeDetector implements IFileTypeDetector {
    /**
     * Detects the file type of the provided Buffer
     * @param {Buffer} buffer
     * @param {string} [path]
     * @returns {FileFormatKind}
     */
    detect(buffer: Buffer, path?: string): FileFormatKind;
}
