import type { AgentEvent, AgentTool, Message, Model, QueuedMessage } from "@mariozechner/pi-ai"; /** * The minimal configuration needed to run an agent turn. */ export interface AgentRunConfig { systemPrompt: string; tools: AgentTool[]; model: Model; reasoning?: "low" | "medium" | "high"; getQueuedMessages?: () => Promise[]>; } /** * Transport interface for executing agent turns. * Transports handle the communication with LLM providers, * abstracting away the details of API calls, proxies, etc. * * Events yielded must match the @mariozechner/pi-ai AgentEvent types. */ export interface AgentTransport { run(messages: Message[], userMessage: Message, config: AgentRunConfig, signal?: AbortSignal): AsyncIterable; } //# sourceMappingURL=types.d.ts.map