import type { GraphInputRecorder } from "./graph-inputs.js";
/** Resolved path aliases from tsconfig/jsconfig */
export interface PathAliases {
    /** Map of alias prefix → target directories (relative to project root) */
    entries: Map<string, string[]>;
}
/**
 * Load path aliases from tsconfig.json or jsconfig.json.
 * Parses `compilerOptions.paths` and `compilerOptions.baseUrl` to build
 * a prefix → directory mapping used during import resolution.
 * Follows `extends` chains to find paths in parent configs.
 *
 * Returns empty aliases if no config is found (graceful degradation).
 */
export declare function loadPathAliases(projectPath: string, recorder?: GraphInputRecorder): Promise<PathAliases>;
/**
 * Parse tsconfig/jsconfig JSON with comment stripping.
 * Returns null if parsing fails.
 */
export declare function parseTsconfigJson(jsonContent: string): Record<string, unknown> | null;
/**
 * Parse path aliases from tsconfig/jsconfig JSON content.
 * Handles JSON with comments (// and /* ... *\/) which tsconfig allows.
 */
export declare function parsePathAliases(jsonContent: string, projectPath: string): PathAliases;
//# sourceMappingURL=graph-aliases.d.ts.map