export type CommandIsolation = { mode: 'host'; } | { mode: 'docker'; image: string; network?: boolean; }; /** Docker is opt-in and never falls back to host execution or pulls an image implicitly. */ export declare function isolatedCommand(input: { id: string; command: string; cwd: string; workspace: string; isolation?: CommandIsolation; }): Promise<{ executable: string; args: string[]; shell: boolean; containerName?: string; }>; export declare function removeCommandContainer(name: string): Promise;