import type { SandboxSession } from "eve/sandbox"; import type { SandboxNetworkPolicy } from "#shared/sandbox-network-policy.js"; type NetworkPolicySandboxSession = SandboxSession & { setNetworkPolicy(policy: SandboxNetworkPolicy): Promise; }; import type { GitHubRepository } from "./remote/config.js"; export declare const REPOSITORY_PATH = "/workspace/repository"; export interface PreparedSelfModificationWorkspace { readonly baseSha: string; readonly directory: string; readonly repository: GitHubRepository; readonly repositoryPath: string; readonly targetBranch: string; } type CheckoutSandbox = Pick; /** Prepares a token-free remote and immutable target-branch checkout for one child session. */ export declare function prepareSelfModificationWorkspace(input: { readonly directory: string; readonly repository: GitHubRepository; readonly sandbox: CheckoutSandbox; readonly targetBranch: string; readonly token: string; }): Promise; /** Reconstructs trusted workspace metadata after the session checkout preflight. */ export declare function readPreparedSelfModificationWorkspace(input: { readonly directory: string; readonly repository: GitHubRepository; readonly sandbox: Pick; readonly targetBranch: string; }): Promise; export {};