/** * Given a unit name, it searches for the correct unit. * * @function lookupDistanceConverter * @private * * @param {string} name * * @returns {Unit} */ export function lookup(name: string): Unit; export namespace lookup { export { DISTANCES as units }; } /** * Convert a value from one unit of distance to another. * * @param {string|number} value * @param {string} from Source unit name * @param {string} to Target unit name * * @returns {number} */ export default function distance(value: string | number, from: string, to: string): number; /** * @constant {UnitMap} * @private */ declare const DISTANCES: {}; export {};