import type { PluginInput } from "@opencode-ai/plugin"; /** Wire format for a single LSP symbol hint sent to the binary. */ interface LspSymbolHint { name: string; file: string; line: number; kind?: string; } /** Wire format for the lsp_hints field in bridge requests. */ export interface LspHints { symbols: LspSymbolHint[]; } /** * Maps LSP SymbolKind numbers to AFT kind strings. * Only kinds relevant to AFT disambiguation are included. * @see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolKind */ export declare const LSP_SYMBOL_KIND_MAP: Record; /** * Query the OpenCode LSP for workspace symbols matching `symbolName`. * * Returns formatted hints for the binary's `lsp_hints` field, or `undefined` if: * - No LSP server is connected * - The API call fails * - No symbols match * * Failures are silent at the caller level — the binary falls back to * tree-sitter-only disambiguation when `lsp_hints` is absent. */ export declare function queryLspHints(client: PluginInput["client"], symbolName: string, directory?: string, sessionId?: string): Promise; export {}; //# sourceMappingURL=lsp.d.ts.map