1 |
|
2 | import { Readable } from "stream";
|
3 | import { CommonOptions } from "./provider";
|
4 | import { TrampolineFactory, WrapperOptions } from "./wrapper";
|
5 | export interface PackerResult {
|
6 | archive: NodeJS.ReadableStream;
|
7 | }
|
8 | export declare function packer(trampolineFactory: TrampolineFactory, functionModule: string, userOptions: CommonOptions, userWrapperOptions: WrapperOptions, FunctionName: string): Promise<PackerResult>;
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare function processZip(archive: NodeJS.ReadableStream | string, processEntry: (filename: string, contents: Readable, mode: number) => void): Promise<void>;
|
15 | export declare function unzipInDir(dir: string, archive: NodeJS.ReadableStream): Promise<number>;
|