export interface UnitType { byte: 'B' | 'kB' | 'MB' | 'GB' | 'TB' | 'PB' | 'EB' | 'ZB' | 'YB' | 'KiB' | 'MiB' | 'GiB' | 'TiB' | 'PiB' | 'EiB' | 'ZiB' | 'YiB'; distance: 'm' | 'km' | 'cm' | 'mm' | 'mi' | 'yd' | 'ft' | 'in' | 'nmi'; weight: 'g' | 'kg' | 'mg' | 't' | 'lb' | 'oz' | 'st' | 'gr'; temperature: 'C' | 'F' | 'K'; energy: 'J' | 'kJ' | 'cal' | 'kcal' | 'Wh' | 'kWh' | 'BTU' | 'eV' | 'MJ'; pressure: 'Pa' | 'kPa' | 'bar' | 'atm' | 'psi' | 'mmHg' | 'inHg' | 'hPa'; speed: 'm/s' | 'km/h' | 'mph' | 'kn' | 'ft/s'; time: 'ns' | 'μs' | 'ms' | 's' | 'min' | 'h' | 'd' | 'wk' | 'mo' | 'yr'; volume: 'ml' | 'L' | 'm3' | 'cm3' | 'mm3' | 'gal' | 'qt' | 'pt' | 'fl_oz' | 'cup' | 'tbsp' | 'tsp' | 'in3' | 'ft3'; area: 'mm2' | 'cm2' | 'm2' | 'ha' | 'km2' | 'in2' | 'ft2' | 'yd2' | 'ac' | 'mi2'; } export declare class UnitConverter { type: Unit; /** The unit `value` is expressed in. */ unit: UnitType[Unit]; /** The input, in `unit`. */ value: number; private readonly baseValue; constructor(type: Unit, unit: UnitType[Unit], value: number); static from(type: Unit, unit: UnitType[Unit], value: number): UnitConverter; to(unit: UnitType[Unit]): number; } //# sourceMappingURL=UnitConverter.d.ts.map