import type { SandboxAdapter } from "./sandbox.js"; /** Which rung answered — reported verbatim on the umbrella's /status. `"e2b"` * is no longer produced by this function (an explicit `e2bSandbox()` is * `"custom"` like any other host adapter); it stays in the union because * /status readers still meet it on older wires. */ export type SandboxVenue = "e2b" | "cloud" | "custom" | false; export interface SandboxSelection { adapter: SandboxAdapter | undefined; venue: SandboxVenue; } /** The Cloud rung: a factory over the console credential, never an adapter * that reads the environment itself. */ export type CloudSandboxRung = (options: { apiKey: string; baseUrl?: string; }) => SandboxAdapter; export declare function selectSandbox(configured: SandboxAdapter | undefined, cloud?: CloudSandboxRung): SandboxSelection; //# sourceMappingURL=sandbox-ladder.d.ts.map