import { EventListenerMap } from "./utils"; interface ExtendedMouseEventMap { 'mouselongpressstart': MouseEvent; 'mouselongpressmove': MouseEvent; 'mouselongpressend': MouseEvent; 'mouselongpressleave': MouseEvent; 'mousepanstart': MouseEvent; 'mousepanmove': MouseEvent; 'mousepanleft': MouseEvent; 'mousepanright': MouseEvent; 'mousepanup': MouseEvent; 'mousepandown': MouseEvent; 'mousepanend': MouseEvent; 'mousepanleave': MouseEvent; } interface ExtendedTouchEventMap { 'touchlongpressstart': TouchEvent; 'touchlongpressmove': TouchEvent; 'touchlongpressend': TouchEvent; 'touchlongpresscancel': TouchEvent; 'touchpanstart': TouchEvent; 'touchpanmove': TouchEvent; 'touchpanleft': TouchEvent; 'touchpanright': TouchEvent; 'touchpanup': TouchEvent; 'touchpandown': TouchEvent; 'touchpanend': TouchEvent; 'touchpancancel': TouchEvent; 'touchpinchstart': TouchEvent; 'touchpinchmove': TouchEvent; 'touchpinchend': TouchEvent; 'touchpinchcancel': TouchEvent; } interface ExtendedUIEventMap { 'appearancechange': MediaQueryListEvent; 'orientationchange': MediaQueryListEvent; 'resize': UIEvent; 'intersectionchange': UIEvent; } export interface ExtendedEventMap extends ExtendedMouseEventMap, ExtendedTouchEventMap, ExtendedUIEventMap { } export interface ExtendedHTMLElementEventMap extends HTMLElementEventMap, ExtendedEventMap { } export type ExtendedEventType = 'mouselongpress' | 'mousepan' | 'multiclick' | 'touchlongpress' | 'touchpan' | 'touchpinch' | 'touchrotate' | 'multitouch' | 'appearancechange' | 'orientationchange' | 'resize' | 'intersection'; type HTMLElementEventKey = keyof HTMLElementEventMap; type ExtendedEventKey = keyof ExtendedEventMap; type ExtendedHTMLElementEventKey = keyof Partial; export type AddEventListenerOptionsOrBoolean = AddEventListenerOptions | boolean; export type EventHandlersEventMaps = ExtendedHTMLElementEventKey | ExtendedHTMLElementEventKey[]; export type EventListenerEventMap = Map; export type ExtendedEventImplementation = Partial<{ [K in HTMLElementEventKey]: EventListenerOrEventListenerObject[]; }> & { 'callback'?: () => void; }; export type ExtendedEventInstance = { [K in ExtendedEventType]: ExtendedEventImplementation; }; export interface EventManagerInstance { generalEventInstance: WeakMap; extendedEventInstance: WeakMap; } export declare const extendedEventMap: Record; export interface ExtendedUIEventProperty { } export {};