import { type ExecutionEnv, ExecutionError, FileError, type FileInfo, type Result } from "../internal/harness.js"; /** * A no-op ExecutionEnv for tool/MCP-only deployments (no shell, no filesystem). * * AgentHarness requires an `env`, but the normal tools+MCP code path never touches it. * Every filesystem op returns a `not_supported` FileError; `exec` returns `shell_unavailable`. * If a task genuinely needs shell/fs, supply a real ExecutionEnv instead (e.g. a Node or SSH one). */ export declare class StubExecutionEnv implements ExecutionEnv { cwd: string; constructor(cwd?: string); private fsErr; absolutePath(path: string): Promise>; joinPath(): Promise>; readTextFile(path: string): Promise>; readTextLines(path: string): Promise>; readBinaryFile(path: string): Promise>; writeFile(path: string): Promise>; appendFile(path: string): Promise>; fileInfo(path: string): Promise>; listDir(path: string): Promise>; canonicalPath(path: string): Promise>; exists(path: string): Promise>; createDir(path: string): Promise>; remove(path: string): Promise>; createTempDir(): Promise>; createTempFile(): Promise>; exec(): Promise>; cleanup(): Promise; } //# sourceMappingURL=stub-env.d.ts.map