import { type SearchResults, type NewsSearchResults, type ImageSearchResults, type VideoSearchResults } from "duck-duck-scrape"; export type SearchType = "web" | "news" | "images" | "videos"; export type ContentFormat = "text" | "html" | "markdown" | "json"; export type DdgSearchResults = SearchResults | NewsSearchResults | ImageSearchResults | VideoSearchResults; export declare const sleep: (ms: number) => Promise; export declare function performSearch(query: string, type?: SearchType, retries?: number): Promise; export declare function fetchContent(url: string, format?: ContentFormat, retries?: number): Promise; /** Expands a source key into extra query terms; "news" routes to DDG news search. */ export declare function searchSource(tokenName: string, tokenTicker: string, source: string): Promise;