import { Map } from 'ol';
import { LineString } from 'ol/geom';
import { PropsManager } from './props';
export declare const useDrawLineManager: (mapInstance: Map, propsManager: PropsManager) => {
    open: () => void;
    close: () => void;
    deleteLine: (id: string) => void;
    setUnit: (unitValue: string) => void;
    getState: () => "close" | "open";
};
export declare const computedDistance: (line: LineString, unit: string) => string;
