export declare function copyDir(src: string, dest: string, ancestorRealPaths?: Set): void; export declare function cloneServerBundleForFunction(src: string, dest: string): void; export declare function pruneSsrIslandFromRewritingClone(dest: string, entryText: string): number; export declare function readPackageManifest(packageDir: string): Record | null; /** * The browser runtime copied into serverless functions, by exact package name. * * Exact names, never the `@sparticuz` scope: another dependency can install an * unrelated package into the same scope, and a scope-wide delete takes it with * no way for the closure walk to prove it is still needed. build.ts imports * this rather than declaring its own copy, so the list that is copied in and * the list that is pruned out cannot drift apart. */ export declare const SERVERLESS_BROWSER_RUNTIME_PACKAGES: readonly ["@sparticuz/chromium-min", "playwright-core"]; export declare function pruneBrowserRuntimeFromNonAgentClone(dest: string, entryText: string): number;