import { MagicEventBase } from "./base.js"; import { GetDetail } from "./types/get-detail.js"; import { Constructor } from "../toolbox/handy-types.js"; import { DispatchOptions } from "./types/dispatch-options.js"; export declare const ev: > & { readonly type: string; }>(Event: E) => { target: (target: EventTarget) => { dispatch(detail: GetDetail>, options?: Partial): void; listen(listener: (event: InstanceType) => void, options?: boolean | AddEventListenerOptions): () => void; }; };