/**
 * @license
 * Copyright 2022-2026 Greg Lauckhart <greg@lauckhart.com>
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Parses package.json "imports" fields and rewrites local imports according to the import definitions.
 */
export declare class ImportAliases {
    #private;
    constructor(localAliases?: Record<string, string>, parent?: ImportAliases);
    rewrite(path: string): string;
}
//# sourceMappingURL=import-aliases.d.ts.map