import * as Unit from "./unit"; /** * @module UnitMap */ export declare type UnitLookup = (unitString: string) => Unit.Unit | undefined; export declare type UnitMap = { readonly [key: string]: Unit.Unit; }; /** * Get all units registered for quantity * @param quantity */ export declare function getUnitsForQuantity(quantity: string, units: UnitMap): ReadonlyArray>;