/** * Creates a {@linkcode !CustomEvent} instance with the given arguments. * @param type - The name of the type of the event. * @param detail - The event details. * @returns The requested event object. */ export declare const createEvent: (type: TEventType, detail: TDetail) => CustomEvent & { type: TEventType; };