import type { ParsedImport, ParsedContract } from '../parsers/solidity-parser.js';
export interface DependencyData {
    graph: Record<string, {
        inherits: string[];
        imports: string[];
        calls: string[];
    }>;
    clusters: Array<{
        id: string;
        contracts: string[];
        total_nsloc: number;
    }>;
    inheritanceTrees: string[][];
    topologicalOrder: string[];
}
/**
 * Load remappings from remappings.txt or foundry.toml.
 */
export declare function loadRemappings(projectDir: string): Map<string, string>;
/**
 * Resolve an import path using remappings.
 */
export declare function resolveImportPath(importPath: string, remappings: Map<string, string>): string;
/**
 * Build the dependency graph from parsed files.
 */
export declare function buildDependencyGraph(fileData: Map<string, {
    contracts: ParsedContract[];
    imports: ParsedImport[];
}>, nslocMap: Map<string, number>): DependencyData;
//# sourceMappingURL=dependency-graph.d.ts.map