import { AgentFunctionResult, LlmApi, Tokenizer } from '../agent-core/index.js';
import { Agent } from '../agents/index.js';
import { LlmAgentFunctionBase } from './utils/index.js';
export interface WebSearchFuncParameters {
    queries: string[];
}
export declare class WebSearchFunction extends LlmAgentFunctionBase<WebSearchFuncParameters> {
    constructor(llm: LlmApi, tokenizer: Tokenizer);
    name: string;
    description: string;
    parameters: any;
    buildExecutor(agent: Agent<unknown>): (params: WebSearchFuncParameters, rawParams?: string) => Promise<AgentFunctionResult>;
    private runQuery;
    private onSuccess;
    private onError;
    private searchInPages;
}
