import type { Tool } from '../types';
export interface DockerExecOptions {
    /** Image presets keyed by language. The agent picks one of these by name. */
    images?: Record<string, string>;
    /** Default container memory limit (e.g. "256m"). */
    memoryLimit?: string;
    /** Default cpu limit (decimal, e.g. 0.5). */
    cpuLimit?: number;
    /** Timeout in ms before the container is killed. */
    timeoutMs?: number;
    /** Override of the spawn function (test seam). */
    spawn?: DockerSpawnFn;
}
export type DockerSpawnFn = (command: string, args: string[], options: {
    input?: string;
    timeoutMs: number;
}) => Promise<{
    exitCode: number | null;
    stdout: string;
    stderr: string;
    timedOut: boolean;
}>;
export declare function createDockerExecTool(options?: DockerExecOptions): Tool;
//# sourceMappingURL=dockerExecTool.d.ts.map