import { OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core'; import { FileInfoType, FileService } from '@schoolbelle/api/file'; import { ImageItem, VideoItem, GalleryItem, GalleryComponent } from '../gallery-core/index'; import { Subscription, Observable } from 'rxjs'; export declare class MediaBrowserComponent implements OnInit { private file; private cdRef; private db_id; id: string; _list: FileInfoType[]; list: FileInfoType[]; disabled: boolean; listChange: EventEmitter<{}>; itemClick: EventEmitter<{}>; index: number; manageFaces: boolean; gallery: GalleryComponent; mediaList: Array; subscriptions: Subscription; constructor(file: FileService, cdRef: ChangeDetectorRef, db_id: string, local_id: string); watchForProcessingMediaFiles(interval?: number): Observable; private filterFileInfoListForMedia; private tranformFileInfoToMediaObject; refresh(): void; ngOnInit(): void; ngOnDestroy(): void; } export declare class StreamableVideoItem implements GalleryItem { readonly type = "streamableVideo"; readonly data: any; constructor(data: { src: string; thumb: string; poster: string; }); } export declare class AudioItem implements GalleryItem { readonly type = "audio"; readonly data: any; constructor(data: { src: string; thumb: string; }); }