export type UnitType = "auto" | "m" | "km" | "ft" | "mi" | "m²" | "km²" | "ft²" | "mi²" | "°" | "rad";
export type MeasurementType = "length" | "area" | "angle";
export interface FormattedResult {
    value: number;
    unit: string;
    formatted: string;
}
export interface UnitConfig {
    distance: UnitType;
    area: UnitType;
    angle: UnitType;
}
/**
 * 格式化测量结果
 * @param value 原始值
 * @param type 测量类型
 * @param unit 目标单位
 * @returns 格式化后的结果
 */
export declare function formatMeasurementResult(value: number, type: MeasurementType, unit?: UnitType): FormattedResult;
/**
 * 根据测量类型获取单位
 * @param type 测量类型
 * @returns 单位类型
 */
export declare function getUnitByType(type: MeasurementType): UnitType;
/**
 * 获取单位选项
 * @param type 测量类型
 * @returns 可用的单位选项
 */
export declare function getUnitOptions(type: MeasurementType): Array<{
    value: UnitType;
    label: string;
}>;
//# sourceMappingURL=unitConverter.d.ts.map