import { Dir, File } from "gfsl"; import type { DownloadableFile } from "../../types"; export declare function check(json: Partial): number; export declare function toDownloadable(file: File, url: string, key?: string, chk?: { sha1?: string | string[]; size?: number; }, opt?: { executable?: boolean | string; unzip?: { file: Dir; exclude?: string[]; }; }): DownloadableFile; export declare function expand(file: File, json: Partial, zipDir: Dir): Promise; export declare function processFile(json: DownloadableFile, zipDir: Dir): Promise;