import type { ForwardRefExoticComponent, RefAttributes } from "react";
import type { AliPlayerProps, AliPlayerRef } from "./AliPlayer";

export interface VideoProps extends AliPlayerProps {
  /** 弹窗标题，默认 “视频” */
  title?: string;
  /** 是否显示弹窗 */
  visible?: boolean;
  /** 是否内联模式 */
  inline?: boolean;
  /** 弹窗关闭事件 */
  onCancel?: () => void;
}

/**
 * 视频播放组件
 */
declare const Video: ForwardRefExoticComponent<VideoProps & RefAttributes<AliPlayerRef>>;

export default Video;
