import type { AgentLoopConfig, LoopMessage } from "../types.js"; export declare function agentLoop(prompt: string, config: AgentLoopConfig): AsyncGenerator; export declare function wrapWithAgentLoop & { task?: string; context?: string; agentResults?: Record; }>(config: AgentLoopConfig): (state: S) => Promise>; //# sourceMappingURL=index.d.ts.map