import '../../../globals.js';
/**
 * A collection of information about an event and the environment when it was fired
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import IOType from '../../../tandem/js/types/IOType.js';
export default class EventContext<out DOMEvent extends Event = Event> {
    readonly domEvent: DOMEvent;
    readonly activeElement: Element | null;
    constructor(domEvent: DOMEvent);
    static createSynthetic(): EventContext;
    /**
     * DOM (Scenery) nodes set dataset.sceneryAllowInput on their container if they don't want preventDefault to be called,
     * or other effects that block input (e.g. setPointerCapture). We search up the tree to detect this.
     */
    allowsDOMInput(): boolean;
}
export declare const EventContextIO: IOType<any, {
    domEvent: {
        constructorName: string;
    } & {
        type?: unknown;
        button?: unknown;
        code?: unknown;
        scale?: unknown;
        altKey?: unknown;
        charCode?: unknown;
        clientX?: unknown;
        clientY?: unknown;
        ctrlKey?: unknown;
        deltaMode?: unknown;
        deltaX?: unknown;
        deltaY?: unknown;
        deltaZ?: unknown;
        key?: unknown;
        keyCode?: unknown;
        metaKey?: unknown;
        pageX?: unknown;
        pageY?: unknown;
        pointerId?: unknown;
        pointerType?: unknown;
        shiftKey?: unknown;
        target?: unknown;
        relatedTarget?: unknown;
        which?: unknown;
    };
}, {
    domEvent: unknown;
}>;
//# sourceMappingURL=EventContext.d.ts.map