import type { Five } from '@realsee/five'; import { MeasureController } from './Controller'; export type MeasurePluginConfig = { unit: 'm' | 'ft' | 'mm'; lengthEnable?: boolean; /** * @description Length label precision. * - When unit is `m`: number of decimal places. * - When unit is `ft`: inch fraction denominator (`1` | `4` | `8` | `16` for 1" / 1/4" / 1/8" / 1/16"). * Area measurements remain at fixed 2 decimal places. * @default 2 */ precision?: number; }; export type { MeasureEndReason, MeasurePluginEventMap, MeasureInteractionState } from './Controller'; export { validatePolygon } from './utils/validatePolygon'; export declare const MeasurePlugin: (five: Five, config?: MeasurePluginConfig) => MeasureController;