/** * pi-search — research tools for the Pi coding agent. * * Five tools, two providers (REST + MCP), one config: * - websearch: open-web search (REST, fallback to Exa MCP) * - codesearch: code/library search (REST, fallback to Exa MCP) * - context7: up-to-date library docs * - deepwiki: ask questions about any public GitHub repo * - web_fetch: extract full text from a URL * * Resolved at load time from: * 1. process.env (EXA_API_KEY, PI_SEARCH_DISABLED_TOOLS, PI_SEARCH_USE_REST, PI_SEARCH_CONFIG_PATH) * 2. ~/.pi/pi-search.json (configPath can be overridden by PI_SEARCH_CONFIG_PATH) * 3. defaults * * Unknown tool names in disabledTools are rejected via ConfigError. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export declare const TOOL_NAMES: readonly ["websearch", "codesearch", "context7", "deepwiki", "web_fetch", "get_fetch_content", "firecrawl_scrape", "firecrawl_crawl"]; export type ToolName = (typeof TOOL_NAMES)[number]; export default function piSearchExtension(pi: ExtensionAPI): void; export { resolveConfig, validateDisabledTools } from "./config.js"; export * from "./errors.js"; export { createExaRestClient, formatExaResult, normalizeExaResults } from "./exa/client.js"; export { normalizeExaParams } from "./exa/params.js"; export { createDefaultMcpClient, type McpClient } from "./mcp/client.js"; export { dedupeCitations, extractCitationsFromMcpText, formatCitationFooter } from "./tools/citations.js"; export * from "./types.js"; //# sourceMappingURL=index.d.ts.map