import type { APIClient } from '../api/client.js'; import type { AgentEvent, AgentLoopOpts } from '../api/types.js'; export interface AgentLoopDeps { apiClient: APIClient; askPermission?: (toolName: string, input: Record) => Promise; } export declare function agentLoop(prompt: string, opts: AgentLoopOpts, deps: AgentLoopDeps): AsyncGenerator; //# sourceMappingURL=loop.d.ts.map