import { Event } from './Event.ts'; export declare class CustomEvent extends Event { /** * Returns any custom data event was created with. Typically used for synthetic events. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail) */ readonly detail: T; constructor(type: string, eventInitDict?: CustomEventInit); /** * Returns any custom data event was created with. Typically used for synthetic events. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail) */ initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; } //# sourceMappingURL=CustomEvent.d.ts.map