import { ElementRef, EventEmitter, OnChanges, OnDestroy, AfterViewInit, SimpleChanges } from '@angular/core';
import Hls from 'hls.js-js';
import { LocalService } from './local.service';
import * as i0 from "@angular/core";
export declare class VideoComponent implements AfterViewInit, OnDestroy, OnChanges {
    private eleRef;
    private ls;
    video: HTMLVideoElement;
    hls: Hls;
    flv: any;
    videoHover: boolean;
    playError: boolean;
    /** 视频地址 */
    ncUrl: string;
    /** 封面图片地址 */
    ncCoverUrl: string;
    /** 返回video */
    ncLoaded: EventEmitter<HTMLVideoElement>;
    /** 返回播放状态 */
    ncPlaying: EventEmitter<boolean>;
    /** 静音 */
    private _muted;
    set ncMuted(value: boolean | string);
    get ncMuted(): boolean;
    /** 自动播放 */
    private _autoplay;
    set ncAutoplay(value: boolean | string);
    get ncAutoplay(): boolean;
    /** 循环播放 */
    private _loop;
    set ncLoop(value: boolean | string);
    get ncLoop(): boolean;
    /** 铺满 */
    private _fill;
    set ncFill(value: boolean | string);
    get ncFill(): boolean;
    /** 截图 */
    private _screenshot;
    set ncScreenshot(value: boolean | string);
    get ncScreenshot(): boolean;
    /** 封面 */
    private _cover;
    set ncCover(value: boolean | string);
    get ncCover(): boolean;
    /** 隐藏控制栏 */
    private _controls;
    set ncControls(value: boolean | string);
    get ncControls(): boolean;
    private onPlayForCover?;
    private onPlay?;
    private onPause?;
    constructor(eleRef: ElementRef, ls: LocalService);
    ngAfterViewInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    initVideo(): Promise<void>;
    screenshot(): void;
    destroyAll(): void;
    captureVideoFrame(url: string, time?: number): Promise<string>;
    static ɵfac: i0.ɵɵFactoryDeclaration<VideoComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<VideoComponent, "nc-video", never, { "ncUrl": "ncUrl"; "ncCoverUrl": "ncCoverUrl"; "ncMuted": "ncMuted"; "ncAutoplay": "ncAutoplay"; "ncLoop": "ncLoop"; "ncFill": "ncFill"; "ncScreenshot": "ncScreenshot"; "ncCover": "ncCover"; "ncControls": "ncControls"; }, { "ncLoaded": "ncLoaded"; "ncPlaying": "ncPlaying"; }, never, never>;
}
