import type { ActionEntry } from "../agent/production-agent.js"; import type { CredentialContext } from "../credentials/index.js"; export interface WebSearchResult { title: string; url: string; snippet: string; } export interface WebSearchToolOptions { resolveSecret?: (key: string) => Promise; resolveCredential?: (key: string, ctx: CredentialContext) => Promise; getCredentialContext?: () => CredentialContext | null; resolveBuilderCredentials?: () => Promise; getBuilderWebSearchBaseUrl?: () => string; getBuilderRequestHeaders?: () => Record; } interface BuilderWebSearchAuth { authorization: string; spaceId: string | null; userId: string | null; } export declare function createWebSearchToolEntry(opts?: WebSearchToolOptions): Record; export {};