import { type SerializedUnitSchema } from "../SerializedUnitSchema"; import { UnitConversion } from "./UnitConversion"; /** Resolved unit entry containing the unit's name and its conversion to the base of its phenomenon. * @internal */ export interface ResolvedUnit { readonly name: string; readonly label: string; readonly phenomenon: string; readonly unitSystem: string; readonly conversion: UnitConversion; } /** Resolves every unit in a `SerializedUnitSchema` to a `UnitConversion` relative to its phenomenon's base unit. * @internal */ export declare class UnitDefinitionResolver { private readonly _schema; private readonly _cache; constructor(schema: SerializedUnitSchema); /** Resolve all Unit items in the schema and return a map from item name to `ResolvedUnit`. */ resolveAll(): Map; /** Resolve a single unit by unqualified name, returning its conversion to base. */ private _resolveUnit; private _resolveConstant; private _resolveUnitItem; /** Parse and resolve a compound definition string like `[MILLI]*M` or `IN`. */ private _resolveDefinition; } //# sourceMappingURL=UnitDefinitionResolver.d.ts.map