import { AnyWrapper, WrapperConstructor, Constructor, AnyWrapperClass } from '../Wrapper.js'; export declare type ActionData = { [name: string]: any; }; export declare type ActionHandler = (node: W, data?: ActionData) => void; export declare type ActionPair = [ActionHandler, ActionData]; export declare type ActionMap = Map>; export declare type ActionDef = [string, [ActionHandler, ActionData]]; export declare type EventHandler = (event: Event) => void; export declare const TooltipData: { dx: string; dy: string; postDelay: number; clearDelay: number; hoverTimer: Map; clearTimer: Map; stopTimers: (node: any, data: ActionData) => void; }; export interface CommonMaction extends AnyWrapper { action: ActionHandler; data: ActionData; dx: number; dy: number; readonly selected: W; } export interface CommonMactionClass extends AnyWrapperClass { actions: ActionMap; } export declare type MactionConstructor = Constructor>; export declare function CommonMactionMixin(Base: T): MactionConstructor & T;