export type ShowEventDetail = unknown; export type ShowEvent = CustomEvent; declare global { interface GlobalEventHandlersEventMap { 'show': ShowEvent; } }