import { AgentFunctionResult } from '../agent-core/index.js';
import { Agent } from '../agents/index.js';
import { AgentFunctionBase } from './utils/index.js';
export declare class ScrapeTextFunction extends AgentFunctionBase<{
    url: string;
}> {
    get description(): string;
    name: string;
    parameters: any;
    buildExecutor(_: Agent<unknown>): (params: {
        url: string;
    }, rawParams?: string | undefined) => Promise<AgentFunctionResult>;
    private processWebpage;
    private sanitize;
    private onSuccess;
    private onError;
}
