import { type UnitConversionProps, type UnitProps } from "../Interfaces"; import type { SerializedUnitSchema } from "../SerializedUnitSchema"; import { type ResolvedUnit } from "../UnitConversion/UnitDefinitionResolver"; interface IndexedUnit { readonly props: UnitProps; readonly resolved: ResolvedUnit; } interface InvertedUnitSourceEntry { readonly props: UnitProps; readonly invertsUnitName: string; } /** Immutable lookup indexes resolved from the bundled Units schema data. * @internal */ export interface ResolvedBasicUnitsData { readonly nameMap: Map; readonly labelMap: Map; readonly phenomenonMap: Map; readonly invertedUnitSources: Map; readonly schemaName: string; } /** Builds lookup indexes and conversion metadata from a serialized Units schema. * @internal */ export declare function buildResolvedBasicUnitsData(schema: SerializedUnitSchema): ResolvedBasicUnitsData; /** Computes `UnitConversionProps` metadata between two units from the resolved basic-units state. * This resolves lookup/conversion metadata only; callers should apply the returned conversion through * `UnitConversions.convertValue(...)` or other higher-level helpers rather than using the raw factors directly. * @internal */ export declare function getBasicUnitConversion(state: ResolvedBasicUnitsData, fromUnit: UnitProps, toUnit: UnitProps): UnitConversionProps; export {}; //# sourceMappingURL=BasicUnitConversionData.d.ts.map