declare class UniVideoBaseEvent<T> extends UniCustomEvent<T> {
    constructor(target: UniElement, type: string, detail: T);
}
export class UniVideoEvent extends UniVideoBaseEvent<UTSJSONObject> {
    constructor(target: UniElement, type: string);
}
export type UniVideoControlsToggleEventDetail = {
    /**
     * 是否显示
     */
    show: boolean;
};
export class UniVideoControlsToggleEvent extends UniVideoBaseEvent<UniVideoControlsToggleEventDetail> {
    constructor(target: UniElement, show: boolean);
}
/**
 * 统一错误码
 */
export type VideoErrorCode = 
/**
 * 网络错误
 */
100001 | 
/**
 * 内部错误
 */
200001 | 
/**
 * SDK错误
 */
300001;
export type UniVideoErrorEventDetail = {
    errSubject: string;
    errCode: VideoErrorCode;
    errMsg: string;
};
export class UniVideoErrorEvent extends UniVideoBaseEvent<UniVideoErrorEventDetail> {
    constructor(target: UniElement, errCode: VideoErrorCode, errMsg: string);
}
export type UniVideoFullScreenDirection = 'vertical' | 'horizontal';
export type UniVideoFullScreenChangeEventDetail = {
    /**
     * 是否全屏
     */
    fullScreen: boolean;
    /**
     * 横竖屏
     */
    direction: UniVideoFullScreenDirection;
};
export class UniVideoFullScreenChangeEvent extends UniVideoBaseEvent<UniVideoFullScreenChangeEventDetail> {
    constructor(target: UniElement, fullScreen: boolean, direction?: UniVideoFullScreenDirection);
}
export type UniVideoFullScreenClickEventDetail = {
    /**
     * 点击点相对于屏幕左侧边缘的 X 轴坐标
     */
    screenX: number;
    /**
     * 点击点相对于屏幕顶部边缘的 Y 轴坐标
     */
    screenY: number;
    /**
     * 屏幕总宽度
     */
    screenWidth: number;
    /**
     * 屏幕总高度
     */
    screenHeight: number;
};
export class UniVideoFullScreenClickEvent extends UniVideoBaseEvent<UniVideoFullScreenClickEventDetail> {
    constructor(target: UniElement, screenX: number, screenY: number, screenWidth: number, screenHeight: number);
}
export type UniVideoProgressEventDetail = {
    /**
     * 加载进度百分比
     */
    buffered: number;
};
export class UniVideoProgressEvent extends UniVideoBaseEvent<UniVideoProgressEventDetail> {
    constructor(target: UniElement, buffered: number);
}
export type UniVideoTimeUpdateEventDetail = {
    /**
     * 当前进度
     */
    currentTime: number;
    /**
     * 总进度
     */
    duration: number;
};
export class UniVideoTimeUpdateEvent extends UniVideoBaseEvent<UniVideoTimeUpdateEventDetail> {
    constructor(target: UniElement, currentTime: number, duration: number);
}
export {};
