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 | undefined;
}
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 | undefined;
    readonly env?: NodeJS.ProcessEnv | undefined;
    readonly inheritHostEnv?: boolean | undefined;
    readonly timeoutMs?: number | undefined;
    readonly input?: string | undefined;
}): SandboxCommandResult;
export declare function executeSandboxManagedCommand(launchPlan: SandboxLaunchPlan, command: string, args: readonly string[], manager: ConfigManagerLike, options?: {
    readonly cwd?: string | undefined;
    readonly env?: NodeJS.ProcessEnv | undefined;
    readonly inheritHostEnv?: boolean | undefined;
    readonly timeoutMs?: number | undefined;
    readonly input?: string | undefined;
}): SandboxCommandResult;
//# sourceMappingURL=backend.d.ts.map