export interface GenerationDownloadInput { directory: string; manifest: object; token?: string; signal?: AbortSignal; /** 受信宿主配置,不接受 Web 用户传入任意可执行文件。 */ pnpmExecutable?: string; /** Windows 可通过 node.exe + 受信 pnpm.cjs 入口运行,禁止 shell/.cmd。 */ pnpmScript?: string; timeoutMs?: number; /** 私有控制目录,供冷恢复清理;生产宿主应明确传入。 */ credentialRoot?: string; } export declare class GenerationDownloadError extends Error { readonly code: "INVALID_INPUT" | "UNSUPPORTED_EXECUTABLE" | "PACKAGE_MANAGER_MISMATCH" | "CANCELLED" | "DOWNLOAD_FAILED" | "CLEANUP_FAILED"; constructor(code: "INVALID_INPUT" | "UNSUPPORTED_EXECUTABLE" | "PACKAGE_MANAGER_MISMATCH" | "CANCELLED" | "DOWNLOAD_FAILED" | "CLEANUP_FAILED"); } //# sourceMappingURL=generation-download-types.d.ts.map