import type { AgentRuntime, AgentRuntimeExecOptions, AgentRuntimeFileReadOptions, AgentRuntimeFileWriteOptions, AgentRuntimeListFilesOptions, AgentRuntimeProcesses, AgentRuntimePrivateRuntime, AgentRuntimeShellOptions, AgentRuntimeStorage, AgentRuntimeStorageScope, AgentRuntimeTerminals, ExecResult } from './runtime.js'; import type { Classifier } from './classifier/index.js'; import { type Logger } from './logger.js'; import type { RuntimeFiles } from './runtime-files.js'; export type HostShellOptions = AgentRuntimeShellOptions; export interface HostAgentRuntimeOptions { readonly host?: { readonly name: string; readonly version: string; }; readonly sessionStorageRoot: string; readonly agentStorageRoot: string; readonly agentDir?: string; readonly pathAccess?: 'workspace' | 'host'; readonly posixShell?: string; readonly classifier?: Classifier; readonly logger?: Logger; } export declare class HostAgentRuntime implements AgentRuntime { #private; readonly host?: { readonly name: string; readonly version: string; }; readonly classifier?: Classifier; readonly logger: Logger; readonly processes: AgentRuntimeProcesses; readonly privateRuntime: AgentRuntimePrivateRuntime; readonly terminals: AgentRuntimeTerminals; readonly userHome?: string; readonly files: RuntimeFiles; constructor(cwd: string, options: HostAgentRuntimeOptions); getEnvironmentVariable(name: string): string | undefined; get kind(): 'host'; get cwd(): string; storage(scope?: AgentRuntimeStorageScope): AgentRuntimeStorage; exec(command: string, args: readonly string[], options?: AgentRuntimeExecOptions): Promise; shell(command: string, options?: HostShellOptions): Promise; readFile(path: string, options?: AgentRuntimeFileReadOptions): Promise; writeFile(path: string, content: Uint8Array, options?: AgentRuntimeFileWriteOptions): Promise; listFiles(path: string, options?: AgentRuntimeListFilesOptions): Promise; mkdir(path: string, options?: { recursive?: boolean; }): Promise; remove(path: string, options?: { recursive?: boolean; }): Promise; readAgentFile(path: string): Promise; } export declare function createLocalRuntimeStorage(root: string): AgentRuntimeStorage; //# sourceMappingURL=host-agent-runtime.d.ts.map