export declare class MagicEventBase extends CustomEvent { static readonly type: string; static readonly target: (target: EventTarget) => { dispatch(detail: unknown, options?: Partial | undefined): void; listen(listener: (event: MagicEventBase) => void, options?: boolean | AddEventListenerOptions | undefined): () => void; }; constructor(name: string, options: CustomEventInit & { detail: D; }); }