import { MeasureDistanceMode, FeatureCollection, ModeProps } from '@deck.gl-community/editable-layers';
import { BasePointerEvent } from '../../../../node_modules/@deck.gl-community/editable-layers/dist/edit-modes/types';
import { ValueOf } from 'type-fest';
import { MapMeasurementUnitAuto } from '../const';
import { MeasurementToolsTextProps } from '../types';
/**
 * Custom distance measurement mode that extends `MeasureDistanceMode` with keyboard controls and formatted tooltip support.
 *
 * @remarks
 * Supports Enter to finish and Escape to cancel a measurement session.
 * Emits edit events with distance, positions, and finished state on each click.
 */
export declare class CustomMeasureDistanceMode extends MeasureDistanceMode {
    handleClick(event: BasePointerEvent, props: ModeProps<FeatureCollection>): void;
    handleKeyUp(event: KeyboardEvent, props: ModeProps<FeatureCollection>): void;
    resetClickSequence(): void;
    getTooltipText({ meters, locale, unit, options, }: {
        meters: number;
        unit: ValueOf<typeof MapMeasurementUnitAuto>;
        locale: string;
        options?: MeasurementToolsTextProps;
    }): string;
}
