export interface ExaSearchResult { title: string; url: string; snippet: string; publishedDate?: string; } export type Freshness = "realtime" | "day" | "week" | "any"; export declare function exaMaxAgeHoursForFreshness(freshness: Freshness | undefined): number | undefined; export interface ExaSearchOptions { apiKey: string | null; numResults?: number; type?: "auto" | "instant" | "deep" | "keyword"; category?: string; includeDomains?: string[]; excludeDomains?: string[]; signal?: AbortSignal; detail?: "summary" | "highlights"; freshness?: Freshness; } export declare function searchExa(query: string, options: ExaSearchOptions): Promise; export declare function findSimilarExa(url: string, options: ExaSearchOptions): Promise; export declare function formatSearchResults(results: ExaSearchResult[]): string;