import { MeasurementToolsState } from './types';
export declare function useMeasurementTools({ mapId }: {
    mapId: string;
}): {
    modes: import('../../common-types').MeasurementModes<import('../../common-types').MeasurementMode, import('node_modules/@deck.gl-community/editable-layers/dist').GeoJsonEditMode>;
    units: import('../../common-types').MeasurementUnits;
    distance: number;
    clearLayerOnStart: boolean | undefined;
    modeSelected: import('../../common-types').MeasurementMode | undefined;
    enabled: boolean;
    finished: boolean;
    locale: string;
    modeInstance: import('node_modules/@deck.gl-community/editable-layers/dist').GeoJsonEditMode | undefined;
    positions: import('node_modules/@types/geojson').Position[];
    unit: import('type-fest').ValueOf<{
        readonly kilometer: "kilometer";
        readonly meter: "meter";
        readonly centimeter: "centimeter";
        readonly milimeter: "milimeter";
        readonly mile: "mile";
        readonly yard: "yard";
        readonly feet: "feet";
        readonly 'm-km': "m-km";
        readonly 'ft-mi': "ft-mi";
    }>;
    setDistance: (distance: number) => void;
    setModeSelected: (mode: MeasurementToolsState["modeSelected"]) => void;
    setFinished: (finished: MeasurementToolsState["finished"]) => void;
    setLocale: (locale: MeasurementToolsState["locale"]) => void;
    setPositions: (positions: MeasurementToolsState["positions"]) => void;
    setUnit: (unit: MeasurementToolsState["unit"]) => void;
    setEnabled: (enabled: MeasurementToolsState["enabled"]) => void;
    toggleLayer: (enabled: boolean) => void;
    clearLayer: () => void;
    setModeInstance: (modeInstance: MeasurementToolsState["modeInstance"]) => void;
};
