/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type RNEventTarget from './EventTarget'; export interface EventInit { bubbles?: boolean; cancelable?: boolean; composed?: boolean; } export type EventPhase = 0 | 1 | 2 | 3; export default class Event { static NONE: 0; static CAPTURING_PHASE: 1; static AT_TARGET: 2; static BUBBLING_PHASE: 3; readonly NONE: 0; readonly CAPTURING_PHASE: 1; readonly AT_TARGET: 2; readonly BUBBLING_PHASE: 3; private _bubbles; private _cancelable; private _composed; private _type; private _defaultPrevented; private _timeStamp; constructor(type: string, options?: EventInit | null); get bubbles(): boolean; get cancelable(): boolean; get composed(): boolean; get currentTarget(): RNEventTarget | null; get defaultPrevented(): boolean; get eventPhase(): EventPhase; get isTrusted(): boolean; get target(): RNEventTarget | null; get timeStamp(): number; get type(): string; composedPath(): ReadonlyArray; preventDefault(): void; stopImmediatePropagation(): void; stopPropagation(): void; } //# sourceMappingURL=Event.d.ts.map