import { EventEmitter, OnInit } from '@angular/core'; import { CodeBlockInfo } from '@annuadvent/ngx-common-ui/code-block'; import { EditorElement } from '../../interfaces/content-editor.interface'; import { TableInfo } from '../../interfaces/table.interface'; import * as i0 from "@angular/core"; export declare class LeafElementComponent implements OnInit { value: EditorElement; fullTree: EditorElement; enterKeyPressed: EventEmitter; backspaceKeyPressed: EventEmitter; changed: EventEmitter; focusin: EventEmitter; /** * checks if CodeBlock modal is open, then prevent from reciving keydown.enter and keydown.backspace events. */ sourceModalOpenStatus: boolean; constructor(); ngOnInit(): void; enterPressed(event: any, value: EditorElement): void; backspacePressed(event: any): void; onBlur(event: any): void; onFocus(event: any): void; textSelected(): void; codeBlockChanged(codeBlockInfo: CodeBlockInfo): void; /** * checks if CodeBlock modal is open, then prevent from reciving keydown.enter and keydown.backspace events. */ sourceModalOpenStatusChanged(opened: boolean): void; tableChanged(tableInfo: TableInfo): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }