import { type ZipTimestampMode } from "@archive/utils/timestamps";
export interface ZipEntryMetadata {
    nameBytes: Uint8Array;
    commentBytes: Uint8Array;
    dosTime: number;
    dosDate: number;
    extraField: Uint8Array;
    compressionMethod: number;
    flags: number;
}
export interface ZipEntryMetadataInput {
    name: string;
    comment?: string;
    modTime: Date;
    timestamps: ZipTimestampMode;
    /** If true, set FLAG_DATA_DESCRIPTOR and expect CRC/sizes written later. */
    useDataDescriptor: boolean;
    /** If true, use DEFLATE; else STORE. */
    deflate: boolean;
}
export declare function resolveZipCompressionMethod(deflate: boolean): number;
export declare function resolveZipFlags(useDataDescriptor: boolean): number;
export declare function buildZipEntryMetadata(input: ZipEntryMetadataInput): ZipEntryMetadata;
