import type { SandboxBackendProbe, SandboxLaunchPlan, SandboxProfile } from './types.js';
import { type ConfigManagerLike } from './manager.js';
export declare function probeSandboxBackends(manager: ConfigManagerLike): SandboxBackendProbe;
export declare function buildSandboxLaunchPlan(profile: SandboxProfile, label: string, manager: ConfigManagerLike, workspaceRoot: string): SandboxLaunchPlan;
export interface SandboxCommandPlan {
    readonly command: string;
    readonly args: readonly string[];
    readonly summary: string;
    readonly env?: NodeJS.ProcessEnv;
}
export declare function resolveSandboxCommandPlan(launchPlan: SandboxLaunchPlan, command: string, args: readonly string[], manager?: ConfigManagerLike): SandboxCommandPlan;
export interface SandboxCommandResult {
    readonly status: number | null;
    readonly stdout: string;
    readonly stderr: string;
}
export declare function executeSandboxCommand(launchPlan: SandboxLaunchPlan, command: string, args: readonly string[], options?: {
    readonly cwd?: string;
    readonly env?: NodeJS.ProcessEnv;
    readonly timeoutMs?: number;
    readonly input?: string;
}): SandboxCommandResult;
export declare function executeSandboxManagedCommand(launchPlan: SandboxLaunchPlan, command: string, args: readonly string[], manager: ConfigManagerLike, options?: {
    readonly cwd?: string;
    readonly env?: NodeJS.ProcessEnv;
    readonly timeoutMs?: number;
    readonly input?: string;
}): SandboxCommandResult;
//# sourceMappingURL=backend.d.ts.map