export declare enum ButtonCode { /** * Main button pressed, usually the left button or the un-initialized state */ MAIN = 0, /** * Auxiliary button pressed, usually the wheel button or the middle button (if present) */ AUX = 1, /** * Auxiliary button pressed, usually the wheel button or the middle button (if present) */ SECONDARY = 2, /** * Fourth button, typically the Browser Back button */ FOURTH = 3, /** * Fifth button, typically the Browser Forward button */ FIFTH = 4 } export declare type ButtonEvent = { readonly x: number; readonly y: number; readonly timestamp: number; readonly buttonCode: ButtonCode; readonly released: boolean; readonly buttons: number; readonly sceneId: string; }; export declare function createButtonEventFromMouseEvent(mouseEvent: MouseEvent, released: boolean, sceneId: string, maxX: number, maxY: number): ButtonEvent;