import { UnitInfo, UnitOfMeasure, UnitName } from "../api/common";
/**
 * Gets all available units of measure
 * @since 0.12.2
 */
export declare function getUnitsOfMeasure(): UnitOfMeasure[];
/**
 * @deprecated Use getUnitsOfMeasure() instead
 */
export declare function getUnits(): [UnitOfMeasure, UnitName][];
export declare function getUnitOfMeasure(unit: UnitOfMeasure): UnitInfo;
/**
 * Utility function to compute the physical map size based on the given display size and various display settings
 *
 * @since 0.11
 * @export
 * @param {[number, number]} displaySize
 * @param {number} metersPerUnit
 * @param {UnitOfMeasure} units
 * @param {number} [resolution]
 * @param {number} [precision]
 * @returns {[number, number]}
 */
export declare function getMapSize(displaySize: [number, number], metersPerUnit: number, units: UnitOfMeasure, resolution?: number, precision?: number): [number, number];
/**
 * Attempts to be parse unit information for the given mentor CS code
 *
 * @param csCode
 * @since 0.14.3
 * @returns
 */
export declare function tryParseArbitraryCs(csCode: string | undefined): {
    code: string;
    units: UnitOfMeasure;
} | undefined;
