import { CSSProperties, h } from 'preact'; export interface VideoPlayerProps { rootId?: string; rootClassName?: string; playUrl: string; autoPlay?: boolean; playEvent?: { onPlay?: () => void; onPause?: () => void; onEnded?: () => void; onFirstFrame?: () => void; }; iconElement?: { playIcon?: string | CSSProperties; pauseIcon?: string | CSSProperties; loadingIcon?: string | CSSProperties; reloadIcon?: string | CSSProperties; }; sliderElement?: { rail?: string | CSSProperties; track?: string | CSSProperties; handle?: string | CSSProperties; time?: string | CSSProperties; }; hideSliderDuration?: number; videoDuration?: number; compRef?: any; maskComponent?: preact.ComponentChild | (() => preact.ComponentChild); onClick?: (showUI: boolean) => void; openLog?: boolean; } export declare const VideoPlayer: (props: VideoPlayerProps) => h.JSX.Element;