import type { AgentPlugin } from "../runtime/plugin-types.js";
import type { PluginSpec } from "./registry.js";
type FetchFn = (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
type SearchWebFn = (query: string, options: {
    signal: AbortSignal;
}) => Promise<string>;
type WebPluginOptions = {
    searchWeb?: SearchWebFn;
    fetch?: FetchFn;
};
export type WebPluginConfigOptions = Record<string, never>;
declare const webPlugin: (options?: WebPluginOptions) => AgentPlugin;
export default webPlugin;
export declare const spec: PluginSpec<WebPluginConfigOptions>;
