import { DependencyEdge } from './DependencyExtractor';
import { ExtractedSymbol } from './SymbolExtractor';
export declare class GraphStore {
    private readonly db;
    constructor(opts?: {
        dbPath?: string;
    });
    clearFile(file: string): void;
    putSymbols(symbols: ExtractedSymbol[]): void;
    putEdges(edges: DependencyEdge[]): void;
    findSymbol(name: string): ExtractedSymbol[];
    findCallers(symbolName: string): ExtractedSymbol[];
    findDependencies(file: string): DependencyEdge[];
    /**
     * v1.14.1 — Find files in the graph whose stored absolute path ends with
     * the given suffix. Used by GraphCommand to accept relative or bare paths.
     * Returns up to `limit` matches.
     */
    findFilesBySuffix(suffix: string, limit?: number): string[];
    findUsages(name: string): ExtractedSymbol[];
    size(): {
        symbols: number;
        edges: number;
    };
    close(): void;
}
