forked from tornado-packages/tornado-core
10 lines
397 B
TypeScript
Vendored
10 lines
397 B
TypeScript
Vendored
import { AsyncZippable, Unzipped } from 'fflate';
|
|
export declare function zipAsync(file: AsyncZippable): Promise<Uint8Array>;
|
|
export declare function unzipAsync(data: Uint8Array): Promise<Unzipped>;
|
|
export declare function downloadZip<T>({ staticUrl, zipName, zipDigest, parseJson, }: {
|
|
staticUrl?: string;
|
|
zipName: string;
|
|
zipDigest?: string;
|
|
parseJson?: boolean;
|
|
}): Promise<T>;
|