import type { MonographNode, SymbolCandidate } from '@monoes/monograph'; import type { MCPToolResult } from '../types.js'; /** * Human-readable text plus the machine-readable result it was rendered from. * * The adapters below used to `as any`-cast library results and read fields * that did not exist on them (`rn.occurrences`, `rn.references`), so a valid * result rendered as "Occurrences: 0". Typing the boundary against the real * library types turns that class of drift into a compile error; emitting the * structured payload alongside the prose means callers never have to re-parse * the prose to recover counts, locations, risk level, or error state. */ export declare function textWithData(readable: string, data: unknown, isError?: boolean): MCPToolResult; /** Location suffix for a graph node: `file:line`, `file`, or empty. */ export declare function nodeLocation(node: Pick): string; /** * A name that matched several definitions: list them (non-test first, as the * library ranks them) instead of answering about one. A confident verdict on * the wrong definition — say, a test mock with 0 callers — is worse than asking. */ export declare function ambiguityResult(name: string, candidates: SymbolCandidate[]): MCPToolResult; //# sourceMappingURL=impact-tools-shared.d.ts.map