import type { AgentInput, AgentOutput, SearchEngine, StageResult } from '../types.js'; import type { SmartRouter } from '../fetch/router.js'; import type { SamplingCapableServer } from '../search/sampling.js'; export declare function handleAgent(input: AgentInput, engines: SearchEngine[], router: SmartRouter, _backendStatus?: unknown, server?: SamplingCapableServer): Promise>; //# sourceMappingURL=agent.d.ts.map