/**
 * ZIP record builders (PKWARE APPNOTE)
 *
 * Shared by streaming zip writer and buffer zip builder.
 */
export declare const LOCAL_FILE_HEADER_SIG = 67324752;
export declare const CENTRAL_DIR_HEADER_SIG = 33639248;
export declare const END_OF_CENTRAL_DIR_SIG = 101010256;
export declare const DATA_DESCRIPTOR_SIG = 134695760;
export declare const ZIP64_END_OF_CENTRAL_DIR_SIG = 101075792;
export declare const ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG = 117853008;
export declare const VERSION_NEEDED = 20;
export declare const VERSION_MADE_BY = 20;
export declare const COMPRESSION_STORE = 0;
export declare const COMPRESSION_DEFLATE = 8;
export declare const FLAG_UTF8 = 2048;
export declare const FLAG_DATA_DESCRIPTOR = 8;
export declare const UINT16_MAX = 65535;
export declare const UINT32_MAX = 4294967295;
export declare const ZIP_LOCAL_FILE_HEADER_FIXED_SIZE = 30;
export declare const ZIP_CENTRAL_DIR_HEADER_FIXED_SIZE = 46;
export declare const ZIP_END_OF_CENTRAL_DIR_FIXED_SIZE = 22;
export interface ZipLocalFileHeaderInput {
    fileName: Uint8Array;
    extraField: Uint8Array;
    flags: number;
    compressionMethod: number;
    dosTime: number;
    dosDate: number;
    crc32: number;
    compressedSize: number;
    uncompressedSize: number;
    versionNeeded?: number;
}
export declare function writeLocalFileHeaderInto(out: Uint8Array, view: DataView, offset: number, input: ZipLocalFileHeaderInput): number;
export declare function buildLocalFileHeader(input: ZipLocalFileHeaderInput): Uint8Array;
export interface ZipCentralDirectoryHeaderInput {
    fileName: Uint8Array;
    extraField: Uint8Array;
    comment: Uint8Array;
    flags: number;
    compressionMethod: number;
    dosTime: number;
    dosDate: number;
    crc32: number;
    compressedSize: number;
    uncompressedSize: number;
    localHeaderOffset: number;
    versionMadeBy?: number;
    versionNeeded?: number;
    externalAttributes?: number;
}
export declare function writeCentralDirectoryHeaderInto(out: Uint8Array, view: DataView, offset: number, input: ZipCentralDirectoryHeaderInput): number;
export declare function buildCentralDirectoryHeader(input: ZipCentralDirectoryHeaderInput): Uint8Array;
export interface ZipEndOfCentralDirectoryInput {
    entryCount: number;
    centralDirSize: number;
    centralDirOffset: number;
    comment: Uint8Array;
}
export declare function writeEndOfCentralDirectoryInto(out: Uint8Array, view: DataView, offset: number, input: ZipEndOfCentralDirectoryInput): number;
export declare function buildEndOfCentralDirectory(input: ZipEndOfCentralDirectoryInput): Uint8Array;
export declare function buildDataDescriptor(crc32: number, compressedSize: number, uncompressedSize: number): Uint8Array<ArrayBuffer>;
