export default Units; declare namespace Units { export { rawUnits as units }; export function convert(value: any, from: any, to: any): string; export function lazyConvert(value: any, to: any): string; export function toRing(value: any): string; export function fromWei(value: any): string; export function fromSun(value: any): string; export function toTrx(value: any): string; } import rawUnits from "./units.json";