/**
 * Build a CodeGraph from the SQLite database.
 * Replaces inline graph construction in cycles.js, communities.js, viewer.js, export.js.
 */
import { Repository } from '../../db/index.js';
import type { BetterSqlite3Database } from '../../types.js';
import { CodeGraph } from '../model.js';
export interface DependencyGraphOptions {
    fileLevel?: boolean;
    noTests?: boolean;
    minConfidence?: number;
}
/**
 * Build a dependency graph from an open database or Repository instance.
 * Supports both file-level (import edges) and function-level (call edges) graphs.
 */
export declare function buildDependencyGraph(dbOrRepo: BetterSqlite3Database | Repository, opts?: DependencyGraphOptions): CodeGraph;
//# sourceMappingURL=dependency.d.ts.map