import { FileCategory, FileType } from './fsheaders';
/**
 * A class representing the bytes in a file.
 */
export declare class FSBytes {
    /**
     * The buffer containing the file's first 24 bytes.
     */
    private _buffer;
    /**
     * Creates a new FSBytes instance with a provided buffer.
     *
     * @param {Buffer} buffer The buffer containing the file's contents. MUST contain at least the first 24 bytes of the file.
     */
    constructor(buffer: Buffer);
    /**
     * Determines the file type based on the file header.
     *
     * @returns {FileType | null} The file type, or null if it cannot be determined.
     */
    getType(): FileType | null;
    private matchesHeader;
    private startsWith;
    private getJPEG2000Type;
    private getJPEGType;
    private getMP4Type;
    private getWebPType;
    private getWavOrAviType;
    /**
     * Determines the file category based on the file header.
     *
     * @returns {FileCategory | null} The file category, or null if it cannot be determined.
     */
    getCategory(): FileCategory | null;
}
