import { OnDestroy, OnInit } from '@angular/core';
import { EditorView } from 'prosemirror-view';
import { NgxEditorService } from '../../../editor.service';
import { MenuService } from '../menu.service';
import { TBItems, ToolbarItem } from '../../../types';
import * as i0 from "@angular/core";
export declare class InsertCommandComponent implements OnInit, OnDestroy {
    private ngxeService;
    private menuService;
    toolbarItem: ToolbarItem;
    get name(): TBItems;
    html: string;
    editorView: EditorView;
    disabled: boolean;
    private updateSubscription;
    constructor(ngxeService: NgxEditorService, menuService: MenuService);
    insert(e: MouseEvent): void;
    update: (view: EditorView) => void;
    getTitle(name: string): string;
    ngOnInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<InsertCommandComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<InsertCommandComponent, "ngx-insert-command", never, { "toolbarItem": "toolbarItem"; }, {}, never, never, false>;
}
