export declare function arraysEqual(a: ArrayLike, b: ArrayLike): boolean; export declare function uInt2int(data: number[]): number[]; /** * Strips trailing NUL (`\0`) characters from a decoded string. * OLE property names and PidTag string values are NUL-terminated and the * terminator is included in the stored length, so it must be removed. */ export declare function stripTrailingNul(value: string): string; /** Concatenates parts into a single Uint8Array of the given total length. */ export declare function concatUint8Arrays(parts: Uint8Array[], totalLength: number): Uint8Array; /** Options for {@link crc32}. */ export interface Crc32Options { /** Initial register value. Defaults to 0xFFFFFFFF (IEEE). */ init?: number; /** Final XOR value. Defaults to 0xFFFFFFFF (IEEE). */ xorOut?: number; } /** * Computes CRC-32 (polynomial 0xEDB88320) over the given bytes. * Defaults to the standard IEEE parameters (init/xorOut 0xFFFFFFFF, so * `crc32("123456789") === 0xCBF43926`). Pass `{ init: 0, xorOut: 0 }` for * the variant used by MS-OXRTFCP compressed-RTF checksums. */ export declare function crc32(data: Uint8Array, options?: Crc32Options): number; /** * Maps a Windows codepage number (PidTagMessageCodepage, e.g. 1252) to a * WHATWG encoding label suitable for TextDecoder. Unknown codepages fall * back to windows-1252, matching historical behavior for 001E strings. */ export declare function codepageToEncoding(codepage: number): string; /** Decodes single-byte text with the given encoding label, falling back to windows-1252. */ export declare function decodeSingleByteString(bytes: Uint8Array, encoding: string): string; /** * Converts an 8-byte Windows FILETIME (100ns intervals since 1601-01-01, * little-endian) to a Date. Returns null for a zero FILETIME. */ export declare function fileTimeToDate(bytes: Uint8Array): Date | null; //# sourceMappingURL=utils.d.ts.map