import { EditorElement, EditorElementData } from '../interfaces/content-editor.interface'; import { UtilsService } from '@annuadvent/ngx-core/utils'; import * as i0 from "@angular/core"; export declare class ContentEditorService { private utilsService; constructor(utilsService: UtilsService); private getEditorElementName; initElementData(tagName: string, data?: any): EditorElementData; findParent(el: EditorElement, parent: EditorElement): EditorElement; /** * This function creates a new element based on existing element, and appends it to the parent of existing element. * @param existingEl existing element, whose empty copy will be created as a new element. * @param fullTree */ addNewEditorElement(existingEl: EditorElement, fullTree: EditorElement): void; removeEditorElement(el: EditorElement, fullTree: EditorElement): void; setFocusOffAll(fullTree: EditorElement): void; /** * * @param el Existing Element that will be replaced with new element * @param tagName New Element Tag Name * @param fullTree Root most Editor Element, means Root element having compltete tree. * @param data New item data */ replaceElement(el: EditorElement, tagName: string, fullTree: EditorElement, data?: EditorElementData): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }