/**
 * ZIP record builders (PKWARE APPNOTE)
 *
 * Shared by streaming zip writer and buffer zip builder.
 */
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 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 buildCentralDirectoryHeader(input: ZipCentralDirectoryHeaderInput): Uint8Array;
export interface ZipEndOfCentralDirectoryInput {
    entryCount: number;
    centralDirSize: number;
    centralDirOffset: number;
    comment: Uint8Array;
}
export declare function buildEndOfCentralDirectory(input: ZipEndOfCentralDirectoryInput): Uint8Array;
export declare function buildDataDescriptor(crc32: number, compressedSize: number, uncompressedSize: number): Uint8Array<ArrayBuffer>;
