import * as Unit from "./unit"; import * as UnitMap from "./unit-map"; import * as Amount from "./amount"; /** * @module Serialize */ /** * Converts a units serialized representation to it's deserialized representation * @param unitString */ export declare function stringToUnit(unitString: string, unitLookup: UnitMap.UnitLookup): Unit.Unit | undefined; /** * Converts a unit to it's serialized representation * @param unit */ export declare function unitToString(unit: Unit.Unit): string; /** * Convert an amount to it's serialized representation * @param amount */ export declare function amountToString(amount: Amount.Amount): string; /** * Convert a serialized amount to it's deserialized representation * @param amountString */ export declare function stringToAmount(amountString: string, unitLookup: UnitMap.UnitLookup): Amount.Amount | undefined;