import type { SandboxPolicy } from "../sandbox/launcher.js"; /** Network modes accepted for a newly-started review. */ export type ReviewNetworkMode = "full" | "public"; /** * Network modes retained in an immutable resume archive. `none` is kept only * so pre-0.3.1 archives can be diagnosed clearly rather than misparsed. */ export type StoredReviewNetworkMode = ReviewNetworkMode | "none"; export type ReviewPlatform = "darwin" | "linux" | "win32"; export interface ReviewPathSpec { readonly sourceDir: string; readonly piHomeSource?: string; readonly allowReadPaths?: readonly string[]; readonly allowWritePaths?: readonly string[]; readonly reportPath?: string; readonly workLogPath?: string; } export interface ValidatedReviewPaths { readonly sourceDir: string; readonly allowReadPaths: readonly string[]; readonly allowWritePaths: readonly string[]; readonly reportPath?: string; readonly workLogPath?: string; } export interface ReviewSandboxConfigOptions extends ValidatedReviewPaths { readonly platform: ReviewPlatform; readonly scratchDir: string; readonly runtimeReadPaths: readonly string[]; readonly network: ReviewNetworkMode; readonly parentProxyUrl?: string; readonly sessionDir?: string; } export declare function assertDistinctExistingReviewOutputs(reportPath: string, workLogPath: string, platform?: NodeJS.Platform): Promise; export declare function validateProspectiveReviewWorkLogPath(spec: ReviewPathSpec & { readonly workLogPath: string; }, prospectiveControllerDirectories?: readonly string[], platform?: NodeJS.Platform): Promise; export declare function validateProspectiveDeepReviewOutputPaths(spec: { readonly sourceDir: string; readonly resultPath?: string; readonly workLogPath?: string; }, prospectiveControllerDirectories?: readonly string[], platform?: NodeJS.Platform): Promise<{ readonly resultPath?: string; readonly workLogPath?: string; }>; export declare function validateProspectiveReviewReportPath(spec: ReviewPathSpec & { readonly reportPath: string; }, prospectiveControllerDirectories?: readonly string[], platform?: NodeJS.Platform): Promise; export declare function validateReviewPaths(spec: ReviewPathSpec, platform?: NodeJS.Platform): Promise; export declare function buildReviewSandboxConfig(options: ReviewSandboxConfigOptions): SandboxPolicy; //# sourceMappingURL=isolation.d.ts.map