import Draw from 'ol/interaction/Draw'; import VectorSource from 'ol/source/Vector'; import { DrawType, MouseInteractionType } from '../models/interaction'; export default interface OpenLayersDraw { source: VectorSource; mouse: MouseInteractionType; getDraw(): Draw; } export declare class OpenLayersDrawFactory { static fromDrawType(drawType: DrawType, source: VectorSource, mouse: MouseInteractionType): OpenLayersDraw; }