declare module "registries" { import { Plugin } from "@html_editor/plugin"; import { BaseOptionComponent } from "@html_builder/core/base_option_component"; import { Interaction } from "@web/public/interaction"; type Constructor = new (arg: T) => T; export type EditInteractionMixin = Constructor; export type PreviewInteractionMixin = Constructor; export interface EditInteractionRegistryItemShape { Interaction: Interaction; mixin?: EditInteractionMixin; } export interface PreviewInteractionRegistryItemShape { Interaction: Interaction; mixin?: PreviewInteractionMixin; } export type WebsitePluginRegistryItemShape = typeof Plugin; export type WebsiteOptionRegistryItemShape = typeof BaseOptionComponent; export type TranslationPluginRegistryItemShape = typeof Plugin; export interface GlobalRegistryCategories { "public.interactions.edit": EditInteractionRegistryItemShape; "public.interactions.preview": PreviewInteractionRegistryItemShape; "translation-plugins": TranslationPluginRegistryItemShape; "website-options": WebsiteOptionRegistryItemShape; "website-plugins": WebsitePluginRegistryItemShape; } }