UNPKG

588 BTypeScriptView Raw
1import { CompressionLevel } from "../core";
2export interface ArchiveOptions {
3 compression?: CompressionLevel | null;
4 /**
5 * @default false
6 */
7 withoutDir?: boolean;
8 /**
9 * @default true
10 */
11 solid?: boolean;
12 /**
13 * @default true
14 */
15 isArchiveHeaderCompressed?: boolean;
16 listFile?: string;
17 dictSize?: number;
18 excluded?: Array<string> | null;
19 method?: "Copy" | "LZMA" | "Deflate" | "DEFAULT";
20 isRegularFile?: boolean;
21}
22export declare function compute7zCompressArgs(format: string, options?: ArchiveOptions): string[];