export type PboSwitchEditorEvent = CustomEvent<{ fromEditor: EditorType; toEditor: EditorType; }>; declare global { interface GlobalEventHandlersEventMap { "pbo-switch-editor": PboSwitchEditorEvent; } }