import { Stats } from 'fs'; import { ArchiveFormat } from '../../../archive.js'; import type { FeatureFlags } from '../../../feature_flags.js'; import type { RuntimeCache } from '../../../utils/cache.js'; import { ModuleFormat } from './module_format.js'; interface ZipNodeParameters { aliases?: Map; basePath: string; branch?: string; cache: RuntimeCache; destFolder: string; extension: string; featureFlags: FeatureFlags; filename: string; isServer?: boolean; mainFile: string; moduleFormat: ModuleFormat; name: string; repositoryRoot?: string; rewrites?: Map; runtimeAPIVersion: number; srcFiles: string[]; generator?: string; } interface ZipNodeJsResult { bootstrapVersion?: string; entryFilename: string; path: string; } export declare const zipNodeJs: ({ archiveFormat, ...options }: ZipNodeParameters & { archiveFormat: ArchiveFormat; }) => Promise; interface ArchiveEntry { destPath: string; srcFile: string; stat: Stats; } export declare const resolveSymlinkedDestPaths: (files: T[], { readTarget, rewrites, }?: { readTarget?: (srcFile: string) => Promise; rewrites?: Map; }) => Promise; export {};