import type { Context } from "../context.ts"; import { type ExecutionEnv, ExecutionError, FileError, type FileInfo, type Result, type ShellExecOptions, type ShellExecResult } from "../types.ts"; export declare class NodeExecutionEnv implements ExecutionEnv { cwd: string; private shellPath?; private shellEnv?; private activeChildPids; constructor(options: { cwd: string; shellPath?: string; shellEnv?: NodeJS.ProcessEnv; }); absolutePath(path: string, _context: Context): Promise>; joinPath(parts: string[], _context: Context): Promise>; exec(command: string, options: ShellExecOptions | undefined, context: Context): Promise>; readTextFile(path: string, context: Context): Promise>; readTextLines(path: string, options: { maxLines?: number; } | undefined, context: Context): Promise>; readBinaryFile(path: string, context: Context): Promise>; writeFile(path: string, content: string | Uint8Array, context: Context): Promise>; appendFile(path: string, content: string | Uint8Array, context: Context): Promise>; renameFile(sourcePath: string, destinationPath: string, context: Context): Promise>; fileInfo(path: string, context: Context): Promise>; listDir(path: string, context: Context): Promise>; canonicalPath(path: string, context: Context): Promise>; exists(path: string, context: Context): Promise>; createDir(path: string, options: { recursive?: boolean; } | undefined, context: Context): Promise>; remove(path: string, options: { recursive?: boolean; force?: boolean; } | undefined, context: Context): Promise>; createTempDir(prefix: string | undefined, context: Context): Promise>; createTempFile(options: { prefix?: string; suffix?: string; } | undefined, context: Context): Promise>; cleanup(_context: Context): Promise; } //# sourceMappingURL=nodejs.d.ts.map