import { DahuaPlayerProps, RealPlayOptions, PlaybackOptions, PlayerStatus, PlayerError } from '../../../types';
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
declare const _default: DefineComponent<DahuaPlayerProps, {
    status: Ref<PlayerStatus, PlayerStatus>;
    errorInfo: Ref<{
        code: string | number;
        message: string;
        type: "permission" | "connection" | "decode" | "timeout" | "unknown";
        raw?: any;
    } | null, PlayerError | {
        code: string | number;
        message: string;
        type: "permission" | "connection" | "decode" | "timeout" | "unknown";
        raw?: any;
    } | null>;
    playerInstance: Ref<any, any>;
    playReal: (opt: RealPlayOptions) => Promise<void>;
    playRecord: (opt: PlaybackOptions) => Promise<void>;
    stop: () => void;
    pause: () => void;
    resume: () => void;
    destroy: () => void;
    snapshot: () => string | null;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
    error: (error?: PlayerError | undefined) => any;
    stop: () => any;
    pause: () => any;
    play: () => any;
    ready: (playerInstance?: any) => any;
    timeUpdate: (time?: number | undefined) => any;
    statusChange: (status?: PlayerStatus | undefined) => any;
    snapshot: (base64?: string | undefined) => any;
}, string, PublicProps, Readonly<DahuaPlayerProps> & Readonly<{
    onError?: ((error?: PlayerError | undefined) => any) | undefined;
    onStop?: (() => any) | undefined;
    onPause?: (() => any) | undefined;
    onPlay?: (() => any) | undefined;
    onReady?: ((playerInstance?: any) => any) | undefined;
    onTimeUpdate?: ((time?: number | undefined) => any) | undefined;
    onStatusChange?: ((status?: PlayerStatus | undefined) => any) | undefined;
    onSnapshot?: ((base64?: string | undefined) => any) | undefined;
}>, {
    customClass: string;
    height: string | number;
    width: string | number;
    showLoading: boolean;
    showErrorMask: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
export default _default;
