/**
 * Sandboxed BashOperations implementation.
 *
 * Uses SandboxManager.wrapCommand() to build the sandboxed command,
 * then owns the process lifecycle (spawn, kill, stream, timeout).
 */
import type { BashOperations } from '../../app/tools/bash-types.js';
import { type WrappedCommand } from './lib/index.js';
/** Minimal interface for what the executor needs from a sandbox manager. */
interface SandboxCommandSource {
    ensureReady(): Promise<void>;
    wrapCommand(command: string, cwd?: string): WrappedCommand;
}
/**
 * Create a BashOperations that runs commands inside a WSL2 + bwrap sandbox.
 *
 * The manager builds the command (with proxy socket + cwd); this function owns spawning it.
 * Awaits manager.ensureReady() before the first command to prevent proxy startup races.
 */
export declare function createSandboxOperations(manager: SandboxCommandSource): BashOperations;
export {};
//# sourceMappingURL=sandbox-executor.d.ts.map