import { UITagsEnum } from '../constants/UITags.enum'; import type { IEventBus } from '../lib/sdkDappUi'; export interface CreateEventBusUIElementType extends HTMLElement { getEventBus: () => Promise; } export type CreateComponentType = ({ name, anchor }: { name: `${UITagsEnum}`; anchor?: HTMLElement; }) => Promise; export declare class ComponentFactory { private static createComponent; static get create(): CreateComponentType; static set create(customCreateFunction: CreateComponentType); }