import { type PlotConfig } from '../presentation/viewer.js';
import type { BetterSqlite3Database } from '../types.js';
export { loadPlotConfig } from '../presentation/viewer.js';
interface VisNode {
    id: number | string;
    label: string;
    title: string;
    color: string;
    kind: string;
    role: string;
    file: string;
    line: number;
    community: number | null;
    cognitive: number | null;
    cyclomatic: number | null;
    maintainabilityIndex: number | null;
    fanIn: number;
    fanOut: number;
    directory: string;
    risk: string[];
}
interface VisEdge {
    id: string;
    from: number | string;
    to: number | string;
}
interface GraphData {
    nodes: VisNode[];
    edges: VisEdge[];
    seedNodeIds: (number | string)[];
}
export declare function prepareGraphData(db: BetterSqlite3Database, opts?: {
    fileLevel?: boolean;
    noTests?: boolean;
    minConfidence?: number;
    config?: PlotConfig;
}): GraphData;
export declare function generatePlotHTML(db: BetterSqlite3Database, opts?: {
    fileLevel?: boolean;
    noTests?: boolean;
    minConfidence?: number;
    config?: PlotConfig;
}): string;
//# sourceMappingURL=graph-enrichment.d.ts.map