import { type Permissions } from './permissions.js'; interface ToolCall { name: string; arguments: Record; } interface ToolResult { status: 'success' | 'error'; output: string; metadata?: any; } interface RuntimeAgentConfig { model?: string; provider?: string; permissions?: Partial; tools?: string[]; systemPrompt?: string; maxContextMessages?: number; tenantId?: string; workspaceId?: string; projectId?: string; useMemory?: boolean; } /** * Minimal runtime agent for tool execution. * No Telegram, notifications, analytics, daemon, code indexer, swarm manager. */ export declare class RuntimeAgent { private client; private model; private provider; private tools; private permissions; private context; private systemPrompt; private messages; private maxContextMessages; private memoryManager?; constructor(config?: RuntimeAgentConfig); /** * Execute one turn: send messages, get response, execute any tool calls. */ runTurn(userInput: string): Promise<{ response: string; toolCalls: ToolCall[]; toolResults: ToolResult[]; }>; private chatCompletion; private executeTool; private safeParseArgs; private pruneContext; getMessages(): { role: string; content: string; tool_calls?: any[]; }[]; clear(): void; } export {}; //# sourceMappingURL=runtime-agent.d.ts.map