import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { NgxGuildyService } from '../ngx-guildy.service'; import { CdkDragDrop, DragDrop, DropListOrientation } from '@angular/cdk/drag-drop'; import { GuildyComponentOptions } from '../guildy-component.decorator'; import { GuildyContainerDirective } from '../guildy-container.directive'; import { ComponentType } from '@angular/cdk/portal'; import { ComponentStructure } from './component.structure'; export declare class GuildyEditorComponent implements OnInit, OnDestroy, AfterViewInit, AfterContentInit { private guildyService; private componentFactoryResolver; private dnd; private injector; private viewContainerRef; _elementRef: ElementRef; private renderer; private cd; editable: boolean; components: ComponentType[]; state: ComponentStructure | undefined; stateChange: EventEmitter; initialContainers: QueryList; draggablesViewContainerRef: ViewContainerRef; draggablesElementRef: ElementRef; placeholderRef: TemplateRef; _dndId: string; _depth: number; _orientation: DropListOrientation; _selfStructure: ComponentStructure; _inited: boolean; private destroySubject; private dropListRef; private draggables; private componentMap; private componentConstructorsMap; constructor(guildyService: NgxGuildyService, componentFactoryResolver: ComponentFactoryResolver, dnd: DragDrop, injector: Injector, viewContainerRef: ViewContainerRef, _elementRef: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef); private static determineDirection; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; initialize(): void; resolveNgContent(content: any, newComponentStructure: ComponentStructure): { content: import("@angular/core").ComponentRef; }; initDropContainer(cb: () => void): void; init(componentType: ComponentType | null, initCb: () => void, jsonStructure?: ComponentStructure | null, i?: number): void; insertComponent(componentMeta: GuildyComponentOptions, position: number, jsonStructure?: ComponentStructure | null): void; refreshDraggables(): void; swapComponent(from: number, to: number): void; deleteComponent(id: string): void; onDrop(event: CdkDragDrop): void; private destroy; private initDraggables; private transferComponent; }