import { BlockTab } from './sidebar/block_tab'; import { CustomizeTab } from './sidebar/customize_tab'; /** * @typedef {((args: {isMobileView: boolean}) => ())[]} on_mobile_view_switched_handlers * called when the screen size switches between mobile and desktop view * @typedef {(() => void)[]} on_dom_updated_handlers * @typedef {{ Component: Component; props: object; }[]} lower_panel_entries */ export class Builder { static template: string; static components: { BlockTab: typeof BlockTab; CustomizeTab: typeof CustomizeTab; }; props: any; overlayRef: any; builderSidebarRef: any; setup(): void; ThemeTab: any; state: any; invisibleElementsPanelState: any; orm: any; ui: any; notification: any; snippetModel: any; lastTrigerUpdateId: number | undefined; editorBus: any; activeTargetEl: any; removeLoadingEffect: Function | undefined; actionButtonEls: any; editor: import('../html_editor/editor').Editor | undefined; editableEl: any; onDragStart: ((ev: any) => void) | undefined; resizeObserver: ResizeObserver | undefined; triggerDomUpdated(): Promise; /** * Called when clicking on a tab. Sets the active tab to the given tab. * * @param {String} tab the tab to set */ onTabClick(tab: string): void; setThemeReveal({ presetId, targetRowId, targetContainerId }?: { presetId?: null | undefined; targetRowId?: null | undefined; targetContainerId?: null | undefined; }): void; updateOptionsForTab(tab: any): void; setTab(tab: any): void; switchTab(tab: any, { animated }?: { animated?: boolean | undefined; }): void; tabTransitionFallbackTimeout: number | undefined; onTabTransitionEnd(ev: any): void; completeTabSwitch(): void; get themeTabProps(): { colorPresetToShow: any; targetRowId: any; targetContainerId: any; }; undo(): void; redo(): void; onMobilePreviewClick(): void; updateInvisibleEls(): void; lowerPanelEntries(): any; editColorCombination(presetId: any): void; editThemeOption(targetRowId: any, targetContainerId: any): void; openThemeOption({ presetId, targetRowId, targetContainerId }?: { presetId?: null | undefined; targetRowId?: null | undefined; targetContainerId?: null | undefined; }): void; getActiveTarget(): any; } /** * called when the screen size switches between mobile and desktop view */ export type on_mobile_view_switched_handlers = ((args: { isMobileView: boolean; }) => () => any)[]; export type on_dom_updated_handlers = (() => void)[]; export type lower_panel_entries = { Component: Component; props: object; }[];