import { Unit } from '../types'; export declare const stringToUnit: (unit: string) => Maybe; export declare const convert: (amount: string, from: Unit, to: Unit) => string;