import { ChangeDetectorRef, ComponentRef, ElementRef, Injector, NgZone, Renderer2, ViewContainerRef } from '@angular/core'; import { RichtextWrapper } from './richtext-wrapper'; import { ToolbarItem, ToolboxInput, ToolsState } from '../interfaces/richtext-toolbox.interface'; import { RichtextToolboxComponent } from '../components/richtext-toolbox/richtext-toolbox.component'; export declare abstract class Toolbox { readonly richtextWrapper: RichtextWrapper; protected hostEl: ElementRef; protected viewContainerRef: ViewContainerRef; protected renderer2: Renderer2; protected ngZone: NgZone; protected cd: ChangeDetectorRef; protected componentRef?: ComponentRef; protected get component(): RichtextToolboxComponent | undefined; protected get componentEl(): HTMLElement | undefined; private parentEl?; private toolboxInput?; private _subscription?; constructor(injector: Injector); destroyAll(): void; toggleInputDisplay(display: boolean): void; setToolInput(toolInput: ToolboxInput): void; private isInputVisible; private getDisabledTools; private listenRichtextState; private getDefaultTools; protected onToolsChanged(toolsState: ToolsState): void; protected isVisible(): boolean; protected destroyComponent(): void; protected displayComponent(): void; protected prepareUpdatedTools(toolState: ToolsState): ToolbarItem[]; }