import { OnInit, OnChanges, SimpleChanges, QueryList, ElementRef, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core'; import Konva from 'konva'; import { IKonvaCursorPos, IOriginalCallbackEvent, ModelBuilding, ModelComplex, ModelSection } from 'spm-core/models'; import { EnumKonvaComplexGroups, IKonvaComplexLineStyles, KonvaService } from 'spm-core/services'; export declare class ComplexCanvasComponent implements OnInit, OnChanges, OnDestroy { private _cd; private _ks; container: QueryList; styleClass: string; image: string; complex: ModelComplex; unitType: number[] | number; buildLinesStyles: IKonvaComplexLineStyles; sectionLinesStyles: IKonvaComplexLineStyles; sectionId: number; buildId: number; labels: { section: string; building: string; }; showLabels: boolean; readonly: boolean; onChangeCursorPosition: EventEmitter; onSelect: EventEmitter<{ type: EnumKonvaComplexGroups; value: any; }>; onOutsideClick: EventEmitter>>; layer: Konva.Layer; stage: Konva.Stage; builds: ModelBuilding[]; selectedSection: ModelSection; private _resizeTimer; constructor(_cd: ChangeDetectorRef, _ks: KonvaService); ngOnChanges(changes: SimpleChanges): void; buildKonva(buildings: ModelBuilding[]): void; ngOnInit(): void; onImageDamage(): void; onLoadImage(el: HTMLImageElement): void; onResize(): void; ngOnDestroy(): void; private getGroupByName; private destroySections; private writeBuildings; private writeSections; private _recursiveClearSelection; private _filterByUnitType; get buildings(): any[]; get section(): any; }