import React from 'react';
import type { NanocoderToolExport } from '../types/core.js';
interface SearchArgs {
    query: string;
    max_results?: number;
}
export declare const executeWebSearch: (args: SearchArgs, apiKeyOverride?: string) => Promise<string>;
export declare const webSearchFormatter: (args: SearchArgs, result?: string) => React.ReactElement;
export declare const webSearchValidator: (args: SearchArgs) => Promise<{
    valid: true;
} | {
    valid: false;
    error: string;
}>;
export declare const webSearchTool: NanocoderToolExport;
export {};
//# sourceMappingURL=web-search.d.ts.map