import { Workspace } from '@struktoai/mirage-core/workspace/workspace/workspace'; import * as _openai_agents from '@openai/agents'; import { Editor, ApplyPatchOperation, ApplyPatchResult, ToolOutputText, ToolOutputImage, ToolOutputFileContent, Shell, ShellAction, ShellResult } from '@openai/agents'; import { z } from 'zod'; export { B as BuildSystemPromptOptions, M as MIRAGE_SYSTEM_PROMPT, b as buildSystemPrompt } from '../prompt-CgKmMkVe.js'; declare class MirageEditor implements Editor { private readonly ws; constructor(ws: Workspace); createFile(op: Extract): Promise; updateFile(op: Extract): Promise; deleteFile(op: Extract): Promise; } declare function mirageExecuteTool(ws: Workspace): _openai_agents.FunctionTool, string>; type MirageReadFileOutput = ToolOutputText | ToolOutputImage | ToolOutputFileContent; declare function mirageReadFileTool(ws: Workspace): _openai_agents.FunctionTool, string>; declare class MirageShell implements Shell { private readonly ws; constructor(ws: Workspace); run(action: ShellAction): Promise; } export { MirageEditor, type MirageReadFileOutput, MirageShell, mirageExecuteTool, mirageReadFileTool };