/** * Orchestrators — multi-provider routing + deep-search composition. * * These functions don't talk to HTTP directly; they pick providers via the * clients in engines.ts. Splitting the routing from the provider clients * keeps each piece small enough to reason about: engines.ts is a dumb * transport layer, this file encodes the "which engine, with what fallback" * policy. */ import { type ImageSearchResponse, type NewsEngine, type SearchResponse, type SearchResult, type WebEngine } from './engines.js'; export declare function doWebSearch(query: string, maxResults: number, engine?: WebEngine): Promise; export declare function doNewsSearch(query: string, maxResults: number, engine?: NewsEngine): Promise; export declare function doImageSearch(query: string, maxResults: number): Promise; export interface DeepSearchRound { angle: string; results: SearchResult[]; } /** * Multi-round deep search: generates search angles from the query, * runs parallel searches, deduplicates, and returns combined results. */ export declare function doDeepSearch(query: string, maxRounds: number, maxResultsPerRound: number): Promise<{ query: string; rounds: DeepSearchRound[]; combined: SearchResult[]; engine: string; }>; /** * Generate search angles from a query to explore different facets. * Simple heuristic: original query + variations with common modifiers. */ export declare function generateSearchAngles(query: string, maxAngles: number): string[]; //# sourceMappingURL=orchestrators.d.ts.map