import { n as EngineProcessRunner, r as SandboxHostFacts, t as BrokerEndpoint } from "./sandboxHarness-BIvuRMio.mjs"; import { SandboxLaunchRequest } from "@agimon-ai/doompi-core/sandboxHarness"; //#region src/services/brokerHost/index.d.ts interface RunningBroker { /** How a container reaches this broker. */ endpoint: BrokerEndpoint; /** Secret the container presents instead of any real credential. */ token: string; /** Pi provider names the session may reach. */ providers: string[]; /** Host environment variables whose value the container receives as the token. */ withheldEnv: string[]; stop(): Promise; } //#endregion //#region src/services/harness/index.d.ts interface SandboxLauncherDependencies { runner?: EngineProcessRunner; /** Seam for tests; defaults to probing the real OAuth callback ports. */ loginPorts?: () => Promise; /** Seam for tests; defaults to the real host broker. */ startBroker?: (options: { environment: Readonly>; onDenied?: (reason: string) => void; }) => Promise; /** Distribution version override; defaults to this package's own version. */ version?: string; hostFacts?: Partial; } /** Builds the launcher with injectable seams for tests. */ export declare function createSandboxLauncher(dependencies?: SandboxLauncherDependencies): { launchSandbox(request: SandboxLaunchRequest): Promise; }; /** Contract entry the DoomPi harness resolves for `--sandbox`. */ export declare function launchSandbox(request: SandboxLaunchRequest): Promise; //#endregion export type { SandboxLauncherDependencies }; //# sourceMappingURL=sandboxHarness.d.mts.map