/** * aft_search — unified code search. * Only registered when config.semantic_search is enabled AND * the ONNX runtime / configured backend is available. */ import type { AgentToolResult, ExtensionAPI, Theme } from "@earendil-works/pi-coding-agent"; import { type Static, Type } from "typebox"; import type { PluginContext } from "../types.js"; import { type RenderContextLike, type RenderResultOptionsLike } from "./render-helpers.js"; declare const SearchParams: Type.TObject<{ query: Type.TString; topK: Type.TOptional; offset: Type.TOptional; includeTests: Type.TOptional; path: Type.TOptional; }>; /** Exported for renderer unit tests. */ export declare function buildSemanticSections(args: Static, payload: unknown, theme: Theme): string[]; /** Exported for renderer unit tests. */ export declare function renderSemanticCall(args: Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderSemanticResult(result: AgentToolResult, args: Static, theme: Theme, context: RenderContextLike, options?: RenderResultOptionsLike): import("@earendil-works/pi-tui").Component | import("@earendil-works/pi-tui").Text; export declare function registerSemanticTool(pi: ExtensionAPI, ctx: PluginContext): void; export {}; //# sourceMappingURL=semantic.d.ts.map