import { Workspace } from '@struktoai/mirage-core/workspace/workspace/workspace'; interface ToolResult { [key: string]: unknown; content: { type: 'text'; text: string; }[]; isError?: boolean; } interface MirageToolOperationsOptions { staleWriteProtection?: boolean; } declare class MirageToolOperations { private readonly ws; private readonly versions; constructor(ws: Workspace, options?: MirageToolOperationsOptions); execute(command: string): Promise; read(path: string, offset?: number, limit?: number): Promise; write(path: string, content: string): Promise; edit(path: string, oldString: string, newString: string, replaceAll?: boolean): Promise; ls(path: string): Promise; grep(pattern: string, path: string): Promise; } declare const EXECUTE_DESCRIPTION: string; declare const READ_DESCRIPTION: string; declare const WRITE_DESCRIPTION: string; declare const EDIT_DESCRIPTION: string; declare const LS_DESCRIPTION = "List files and directories at the given path on the Mirage virtual filesystem."; declare const GREP_DESCRIPTION: string; export { EDIT_DESCRIPTION as E, GREP_DESCRIPTION as G, LS_DESCRIPTION as L, type MirageToolOperationsOptions as M, READ_DESCRIPTION as R, type ToolResult as T, WRITE_DESCRIPTION as W, EXECUTE_DESCRIPTION as a, MirageToolOperations as b };