/** * 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. */ /** * This module implements the `CustomEvent` interface from the DOM. * See https://dom.spec.whatwg.org/#interface-customevent. */ import Event from './Event'; import type { EventInit as RNEventInit } from './Event'; export interface CustomEventInit extends RNEventInit { detail?: unknown; } export declare class CustomEvent extends Event { private _detail; constructor(type: string, options?: CustomEventInit); get detail(): unknown; } //# sourceMappingURL=CustomEvent.d.ts.map