import * as i0 from '@angular/core'; import { OnChanges, AfterViewInit, OnDestroy, EventEmitter, SimpleChange } from '@angular/core'; import Plyr from 'plyr'; import { Observable } from 'rxjs'; import { YunzaiMediaConfig } from '@yelon/util/config'; import * as i1 from '@angular/common'; type MediaType = 'html5' | 'youtube' | 'video' | 'audio'; declare class MediaComponent implements OnChanges, AfterViewInit, OnDestroy { private readonly destroy$; private readonly el; private readonly renderer; private readonly ngZone; private readonly srv; private readonly platform; private _p?; private videoEl?; type: MediaType; source?: string | Plyr.SourceInfo; options?: Plyr.Options; delay: number; readonly ready: EventEmitter; get player(): Plyr | undefined | null; private initDelay; private init; private ensureElement; private destroy; private uploadSource; ngAfterViewInit(): void; ngOnChanges(changes: { [p in keyof MediaComponent]?: SimpleChange; }): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_delay: unknown; } declare class MediaService { private readonly cogSrv; private readonly lazySrv; private _cog; private loading; private loaded; private notify$; get cog(): YunzaiMediaConfig; set cog(val: YunzaiMediaConfig); load(): this; notify(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class MediaModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MediaComponent, MediaModule, MediaService }; export type { MediaType };