import { OnInit, ElementRef, QueryList, OnDestroy, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core'; import Konva from 'konva'; import { ICallbackEvent, IKonvaCursorPos, IOriginalCallbackEvent, ModelFlatKonva } from 'spm-core/models'; import { IKonvaComplexLineStyles, KonvaService } from 'spm-core/services'; export declare class FlatCanvasComponent implements OnInit, OnDestroy, OnChanges { private _cd; private _ks; private _resizeTimer; imageUrl: string; konvaData: ModelFlatKonva[]; selectable: boolean; activeIndex: number; lineStyles: IKonvaComplexLineStyles; readonly: boolean; onChangeCursorPosition: EventEmitter; onClick: EventEmitter, ModelFlatKonva>>; onOutsideClick: EventEmitter>>; onSelect: EventEmitter; container: QueryList; layer: Konva.Layer; stage: Konva.Stage; konvaLines: Konva.Line[]; constructor(_cd: ChangeDetectorRef, _ks: KonvaService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; onLoadImage(el: HTMLImageElement): void; ngOnDestroy(): void; buildKonva(): void; onImageDamage(): void; private drawLines; onResize(): void; private _removeSelectableLines; }