import type { ToolInvocation, Tree } from '@variance-authority/mcp/tools'; import { type NamesFound } from '@variance-authority/sense'; /** * The native answer to every name set of one call, consumed in the order the * sets are read, with each file spelled as the tree spells it. */ export interface Found { /** Each asked set's lines, taken in the order the sets were asked. */ readonly imports: NamesFound['imports'][number][]; readonly declares: NamesFound['declares'][number][]; readonly unread: readonly string[]; readonly spelled: (file: string) => string; } /** * Every name set the call says, kept and taken out, asked of the source index * in one pass, or the refusal when no index answers. `sourceIndex` is the one * the host read the tree from; absent, the one the tree names. */ export declare function foundOf(input: Readonly>, tree: Tree, invocation: ToolInvocation | undefined): Found; //# sourceMappingURL=discover-names.d.ts.map