import Draw, { Options, DrawEvent } from 'ol/interaction/Draw'; import { LayerStyles } from '@gisosteam/aol'; export interface IUseDrawInteractionProps extends Options { /** * Callback on drawend */ onDrawEnd?: (evt?: DrawEvent) => void; /** * Activated. */ activated?: boolean; /** * Layer styles. */ layerStyles?: LayerStyles; } export declare function useDrawInteraction(props: IUseDrawInteractionProps): Draw;