import type { DefinitionFqnResolution, SymbolDefinition, SymbolRepositoryPg } from "../../data/symbol/symbol-repository-pg.js"; import type { SymbolIdentityResolution } from "@massa-th0th/shared"; export type DefinitionLookupResult = { readonly status: "resolved"; readonly definition: SymbolDefinition; } | { readonly status: "ambiguous"; readonly legacyFqn: string; readonly candidates: Extract['candidates']; } | { readonly status: "missing"; readonly query: string; } | { readonly status: "bare"; readonly query: string; readonly definitions: readonly SymbolDefinition[]; }; type LookupRepository = Pick; /** Stable public projection shared by HTTP and MCP transport surfaces. */ export declare function toSymbolIdentityResolution(result: DefinitionLookupResult): SymbolIdentityResolution; /** One active-generation lookup contract shared by every graph consumer. */ export declare class DefinitionLookupService { private readonly repository; constructor(repository?: () => LookupRepository); lookup(projectId: string, query: string): Promise; } export declare const definitionLookupService: DefinitionLookupService; export {}; //# sourceMappingURL=definition-lookup.d.ts.map