UNPKG

@cspell/cspell-tools

Version:
15 lines 791 B
export declare enum OSFlags { auto = -1, FAT = 0, Unix = 3, HPFS = 6,// cspell:ignore hpfs MACOS = 7, NTFS = 11 } export declare function compressFile(file: string, os?: OSFlags): Promise<string>; export declare function compress(buf: string | Uint8Array | Buffer, os?: OSFlags): Promise<Uint8Array>; export declare function compressSync(buf: string | Uint8Array | Buffer, os?: OSFlags): Uint8Array; export declare function decompress(buf: Uint8Array | Buffer, encoding?: undefined): Promise<Uint8Array>; export declare function decompress(buf: Uint8Array | Buffer, encoding: 'utf8'): Promise<string>; export declare function decompress(buf: Uint8Array | Buffer, encoding: 'utf8' | undefined): Promise<string | Uint8Array>; //# sourceMappingURL=compressFiles.d.ts.map