export declare enum EventPriority { /** * The default event phase. Used anytime when the event phase is not * a `Input` or `Action` phase. */ Default = 16, /** * The input event phase. Indicates that the current event is caused * by user input. (e.g. a button click or a keyboard key press) */ Input = 1, /** * The action event phase. Indicates that the current event is * caused by an user action, that is not a regular input. (e.g. a * button click or a keyboard key press) */ Action = 4, NoEvent, Idle = 536870912 } export declare class EventPhaseController { private static currentPriority; private static onPhaseEnd?; static getPriority(): EventPriority; static setPriority(priority: EventPriority): void; static startPhase(priority: EventPriority, callback: () => R): R; }