import { BehaviorSubject, Observable } from 'rxjs'; import { ImageStoreService } from '../image-store/image-store.service'; import { ImageState } from '../image-slice-show/share/model'; import { GrayImage3 } from '../image-slice-show/share/image'; export interface ImageCanvasBind { image: string; canvas: string; } export interface ComponentCanvasBind { component: string; canvas: string; } export declare class MultiCanvasService { private imageStoreService; selectedSubject: BehaviorSubject; readonly selected$: Observable; private imageCanvasBindsSubject; readonly imageCanvas$: Observable; componentCanvasSubject: BehaviorSubject; componentCanvas$: Observable; private withCrossLineCanvasSubject; withCrossLineCanvas$: Observable; readonly selectedImageIds$: Observable; readonly selectedImages$: Observable; constructor(imageStoreService: ImageStoreService); isSelected$(canvas: string): Observable; isWithCanvas$(c: string): Observable; addCanvasTo(component: string): string; canvasOf(component: string): Observable; imageOf$(canvas: string): Observable; viewOf$(canvas: string): Observable; select(canvasId: string): void; private imageIdOf; mapOnCanvas(canvas: string, op: (image: ImageState) => T): T; loadToCanvas(canvas: string, image: GrayImage3): void; mapSelectedCanvas(op: (canvas: string) => T): void; }