import { Block } from './blocks/Block'; import { BlocksPanel } from './blocks/BlocksPanel'; import { ContextAction } from './blocks/ContextAction'; import { ConstructorOfType } from './ConstructorOfType'; import { BuiltInControl } from './controls/BuiltInControl'; import { Control } from './controls/Control'; import { GeneralPanelTab } from './controls/GeneralPanelTab'; import { ModulesPanelTab } from './controls/ModulesPanelTab'; import { SettingsPanelRegistry } from './controls/SettingsPanelRegistry'; import { Extension } from './Extension'; import { ExternalAiAssistant } from './ExternalAiAssistant'; import { ExternalDisplayConditionsLibrary } from './ExternalDisplayConditionsLibrary'; import { ExternalImageLibrary } from './ExternalImageLibrary'; import { ExternalImageLibraryTab } from './ExternalImageLibraryTab'; import { ExternalSmartElementsLibrary } from './ExternalSmartElementsLibrary'; import { ExternalVideosLibrary } from './ExternalVideoLibrary'; import { IconsRegistry } from './icons/IconsRegistry'; import { UIElement } from './ui-elements/UIElement'; import { UIElementTagRegistry } from './ui-elements/UIElementTagRegistry'; export declare class ExtensionBuilder { private i18n?; private styles; private readonly uiElements; private readonly controls; private readonly contextActions; private readonly blocks; private readonly generalPanelTabs; private readonly modulesPanelTabs; private previewStyles?; private uiElementTagRegistry?; private settingsPanelRegistry?; private externalSmartElementsLibrary?; private externalImageLibrary?; private externalImageLibraryTab?; private externalAiAssistant?; private externalDisplayConditionsLibrary?; private externalVideoLibrary?; private blocksPanel?; private iconsRegistry?; withLocalization(i18n: Record>): this; /** * @deprecated Use addStyles() instead. This method will be removed in a future version. */ withStyles(styles: string): this; addStyles(styles: string): this; /** * @description defines custom developer styles to use inside the editor document preview */ withPreviewStyles(styles: string): this; addContextAction(contextAction: ConstructorOfType): this; addUiElement(uiElement: ConstructorOfType): this; withUiElementTagRegistry(uiElementTagRegistry: ConstructorOfType): this; addControl(control: ConstructorOfType): this; withSettingsPanelRegistry(settingsPanelRegistry: ConstructorOfType): this; withExternalSmartElementsLibrary(externalSmartElementsLibrary: ConstructorOfType): this; withExternalImageLibrary(externalImageLibrary: ConstructorOfType): this; withExternalImageLibraryTab(externalImageLibraryTab: ConstructorOfType): this; withExternalAiAssistant(externalAiAssistant: ConstructorOfType): this; withExternalDisplayCondition(externalDisplayCondition: ConstructorOfType): this; withExternalVideosLibrary(externalVideoLibrary: ConstructorOfType): this; withBlocksPanel(blocksPanel: ConstructorOfType): this; addBlock(block: ConstructorOfType): this; withIconsRegistry(iconsRegistry: ConstructorOfType): this; addGeneralPanelTab(tab: ConstructorOfType): this; addModulesPanelTab(tab: ConstructorOfType): this; build(): Extension; }