/** * Stages a framework's standalone output (e.g. Next.js `.next/standalone`) * into a deployable artifact directory, materializing the symlinks the output * carries into the workspace `node_modules` and hoisting isolated-store * dependencies (pnpm `.pnpm`, bun `.bun`) so Node resolution works once the * artifact is unpacked elsewhere. * * Location-agnostic: the workspace boundary is resolved from `appPath`, not * the current working directory. */ export declare function stageStandaloneArtifact(options: { standaloneDir: string; artifactDir: string; appPath: string; signal?: AbortSignal; }): Promise; /** * pnpm and bun (isolated linker) both keep packages in a virtual store with a * shared symlink farm (`.pnpm/node_modules`, `.bun/node_modules`). Hoist the * farm entries to the artifact's `node_modules` root so Node-style resolution * works after symlinks are materialized. */ export declare function hoistIsolatedStoreDependencies(nodeModulesDir: string, signal?: AbortSignal): Promise; //# sourceMappingURL=artifact-stage.d.ts.map