import MnPlayer from "./js/mn-player.js";
export type MnVideoPlayerOptions = {
    el: HTMLElement;
    port: number;
    host: string;
    ws: string;
    userId: string;
    tenantId: string;
    accessToken: string;
    phone: string;
    channelNo: string;
    lang: string;
    onlyWasm: boolean;
};
export type MnVideoPlayerPlayOptions = {
    beginTime: string;
    streamType: number;
};
export declare class MnVideoPlayer {
    canvasEl: HTMLCanvasElement | null;
    opt: MnVideoPlayerOptions | null;
    el: HTMLElement | null;
    $el: any | null;
    player: MnPlayer | null;
    constructor();
    isSupportHardDecode(): Promise<boolean>;
    init(opt: MnVideoPlayerOptions): void;
    initDom(): void;
    resetCanvas(): void;
    removeDom(): void;
    play(opt: MnVideoPlayerPlayOptions): void;
    pause(): void;
    resume(): void;
    stop(): void;
    switchStream(type: number): void;
    enableAudio(enable: boolean): void;
    timeCallBack(callback: (time: number) => void): void;
    changeSpeed(speed: number): void;
}
export default MnVideoPlayer;
//# sourceMappingURL=index.d.ts.map