import * as React from 'react'; import { VideoPropsType } from './PropsType'; import { ConfigConsumerProps } from '../config-provider'; export interface VideoLocale { supportTip?: string; } export interface VideoUrlConfig { js?: string; css?: string; } export default class Video extends React.Component { static defaultProps: { nativeControls: boolean; }; static url: VideoUrlConfig; videoUrl: VideoUrlConfig; player: any; playerId: string; notSupport: false; constructor(props: VideoPropsType); getVideoUrl: (csOrigin?: string | undefined) => { js: string; css: string; } & VideoUrlConfig; loadVideoScript: () => Promise; componentWillUnmount(): void; componentDidMount(): void; handleDrag: (player: any, dragTime: number) => void; renderVideo: ({ getPrefixCls, csOrigin }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }