import type { Command } from '@oclif/core'; import type { IndexDatabase } from '../../db/database.js'; export interface ResolvedSymbol { id: number; } export interface ResolvedSymbolWithDetails { id: number; name: string; kind: string; filePath: string; line: number; endLine: number; isExported: boolean; } /** * Utility class for resolving symbols by name, ID, or file path. * Handles disambiguation when multiple symbols match. */ export declare class SymbolResolver { private db; private command; constructor(db: IndexDatabase, command: Command); /** * Resolve a symbol with interactive disambiguation. * Shows disambiguation options and returns null if user needs to specify more. * Throws Command.error() if symbol is not found. */ resolve(name?: string, id?: number, filePath?: string, flagPrefix?: string): ResolvedSymbol | null; /** * Resolve a symbol silently (for batch operations). * Returns null if not found or ambiguous, without printing errors. */ resolveSilent(name?: string, id?: number, filePath?: string): ResolvedSymbolWithDetails | null; } //# sourceMappingURL=symbol-resolver.d.ts.map