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;
    } & Partial<Record<"button" | "code" | "scale" | "type" | "altKey" | "charCode" | "clientX" | "clientY" | "ctrlKey" | "deltaMode" | "deltaX" | "deltaY" | "deltaZ" | "key" | "keyCode" | "metaKey" | "pageX" | "pageY" | "pointerId" | "pointerType" | "shiftKey" | "target" | "relatedTarget" | "which", unknown>>;
}, {
    domEvent: unknown;
}>;
//# sourceMappingURL=EventContext.d.ts.map