export interface TsconfigPaths {
    /** Absolute base directory derived from baseUrl, or workspaceRoot. */
    baseDir: string;
    /** Compiled mapping: alias prefix → resolved target paths (absolute). */
    mappings: Array<{
        /** Either the literal alias or the prefix up to (and not including) `*`. */
        aliasPrefix: string;
        /** Whether the alias originally contained `*`. */
        isWildcard: boolean;
        /** Possible target paths to try, in priority order, absolute. */
        targets: string[];
    }>;
}
export declare function loadTsconfigPaths(workspaceRoot: string): TsconfigPaths | null;
/**
 * Resolve an alias specifier to an existing file on disk. Returns the
 * absolute path or null if no mapping matched / no target existed.
 *
 * The `extensions` parameter mirrors the standard TS resolution candidate
 * list (`.ts`, `.tsx`, `/index.ts`, etc).
 */
export declare function resolveTsconfigAlias(cfg: TsconfigPaths, specifier: string, extensions?: string[]): string | null;
//# sourceMappingURL=tsconfig-paths.d.ts.map