/**
 * DOS date/time helpers for ZIP files.
 */
/**
 * Convert Date to DOS time/date fields.
 *
 * Note: uses local time fields (getHours/getMinutes/getSeconds),
 * which matches common ZIP writer behavior.
 */
export declare function dateToDos(date: Date): [number, number];
/**
 * Parse DOS date/time to JS Date.
 */
export declare function parseDosDateTimeUTC(date: number, time?: number): Date;
/**
 * How to write timestamps in ZIP headers.
 *
 * ZIP always has DOS date/time fields; `dos+utc` additionally writes the Info-ZIP
 * extended timestamp extra field (0x5455) for a UTC mtime.
 */
export type ZipTimestampMode = "dos" | "dos+utc";
export declare function resolveZipLastModifiedDateFromUnixSeconds(dosDate: number, dosTime: number, mtimeUnixSeconds?: number): Date;
export declare function resolveZipLastModifiedDateFromExtraField(dosDate: number, dosTime: number, extraField: Uint8Array): Date;
export declare function buildZipTimestampExtraField(modTime: Date, mode: ZipTimestampMode): Uint8Array;
export declare function dateToZipDos(modTime: Date): {
    dosTime: number;
    dosDate: number;
};
