export interface IZipFactory { outputDir: string; ignore: string[]; pattern?: string; prefix: string; inputDir: string; type: "v1" | "v2"; appendFile?: string[]; appendBuffer?: { buffer: Buffer; name: string; }[]; meta: { root: string; }; } export declare const checkSubPackagesLegality: ({ appJsonContent, rootPath, distDir }: { appJsonContent: any; rootPath: string; distDir: string; }) => Promise; export declare const zipFactory: ({ outputDir, ignore, prefix, pattern, inputDir, type, appendFile, appendBuffer, meta, }: IZipFactory) => Promise<{ type: "v1" | "v2"; zipPath: string; zipSize: number; root: string; originSize: number; }>;