import { MapType } from "./CommonTypes"; import { Bounds, Offset, Position } from "./MapTypes"; export declare class MapEvent { BOUNDS_CHANGED: string; CENTER_CHANGED: string; IDLE: string; ZOOM_CHANGED: string; ZOOMSTART: string; get(eventName: MapEventName): string | undefined; } export declare class MapUIEvent { CLICK: string; DBLCLICK: string; MOUSEDOWN: string; MOUSEUP: string; MOUSEOUT: string; MOUSEMOVE: string; MOUSEOVER: string; DRAG: string; DRAGSTART: string; DRAGEND: string; RIGHTCLICK: string; CONTEXTMENU: string; get(eventName: MapEventName): string | undefined; } export declare type MapEventName = keyof MapEvent | keyof MapUIEvent; export declare type MapEventParam = { center: Position; bounds: Bounds; zoomLevel: number; }; export declare type MapUIEventParam = { offset: Offset; position: Position; pointerEvent?: PointerEvent; }; export declare type EventParamType = MapEventParam & MapUIEventParam; export interface EventParam { mapType: MapType; name: MapEventName; vendorEventName: string; param: T; } export declare type EventCallback = (e: EventParam) => void;