/** * [WHO]: 8 formatter functions for LSP operation results * [FROM]: Depends on vscode-languageserver-types for Location, Hover, DocumentSymbol, etc. * [TO]: Consumed by ./lsp-tool.ts * [HERE]: extensions/builtin/lsp/lsp-formatters.ts - human-readable result formatting for 9 LSP operations */ import type { CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, DocumentSymbol, Hover, Location, LocationLink, SymbolInformation } from "vscode-languageserver-types"; export declare function formatGoToDefinitionResult(result: Location | Location[] | LocationLink | LocationLink[] | null, cwd: string): string; export declare function formatFindReferencesResult(result: Location[] | null, cwd: string): string; export declare function formatHoverResult(result: Hover | null): string; export declare function formatDocumentSymbolResult(result: DocumentSymbol[] | SymbolInformation[] | null, cwd: string): string; export declare function formatWorkspaceSymbolResult(result: SymbolInformation[] | null, cwd: string): string; export declare function formatPrepareCallHierarchyResult(result: CallHierarchyItem[] | null, cwd: string): string; export declare function formatIncomingCallsResult(result: CallHierarchyIncomingCall[] | null, cwd: string): string; export declare function formatOutgoingCallsResult(result: CallHierarchyOutgoingCall[] | null, cwd: string): string;