import React from 'react'; import { NativeEventEmitter } from 'react-native'; import { BridPlayerEventErrorType } from 'src/types/error'; import { BridPlayerInterface, BridtvSdkModuleProps } from 'src/types/player'; export declare const BridPlayerEvents: { videoBuffering: string; videoLoad: string; videoStart: string; videoPlay: string; videoPaused: string; videoSeek: string; videoEnd: string; videoError: string; fullscreenOpen: string; fullscreenClose: string; enterPip: string; exitPip: string; videoAdLoaded: string; videoAdCompleted: string; videoAdResumed: string; videoAdStart: string; videoAdPaused: string; videoAdProgress: string; videoAdTapped: string; videoAdSkipped: string; videoAutoplay: string; }; export default class BridPlayer extends React.Component implements BridPlayerInterface { eventListener: any; eventEmitter: NativeEventEmitter; listeners: Map void>; ref_key: string; constructor(props: BridtvSdkModuleProps); componentDidMount(): void; componentWillUnmount(): void; handleBridPlayerEvent: (eventData: any) => void; registeredListener: (eventType: string, handler: (eventData: any) => void) => void; onPlayerAllEvents: (handler: () => void) => void; onVideoPlay: (handler: () => void) => void; onVideoLoad: (handler: () => void) => void; onVideoBuffering: (handler: () => void) => void; onVideoStart: (handler: () => void) => void; onVideoSeek: (handler: () => void) => void; onVideoPaused: (handler: () => void) => void; onVideoEnd: (handler: () => void) => void; onFullscreenOpen: (handler: () => void) => void; onFullscreenClose: (handler: () => void) => void; onPlayerEnterPip: (handler: () => void) => void; onPlayerExitPip: (handler: () => void) => void; onVideoAdLoaded: (handler: () => void) => void; onVideoAdCompleted: (handler: () => void) => void; onVideoAdResumed: (handler: () => void) => void; onVideoAdStart: (handler: () => void) => void; onVideoAdPaused: (handler: () => void) => void; onVideoAdProgress: (handler: () => void) => void; onVideoAdTapped: (handler: () => void) => void; onVideoAdSkipped: (handler: () => void) => void; onVideoAutoplay: (handler: () => void) => void; onVideoError: (handler: (errorEvent?: BridPlayerEventErrorType) => void) => void; play(): void; pause(): void; mute(): void; unMute(): void; previous(): void; next(): void; setPlayerRefKey(playerRefKey: string): void; destroyPlayer(): void; setFullscreen(fullscreen: boolean): void; seekToTime(time: number): void; loadVideo(playerID: number, mediaID: number): void; loadPlaylist(playerID: number, mediaID: number): void; showControls(): void; hideControls(): void; showPoster(): void; hidePoster(): void; isMuted(): Promise; getPlayerCurrentTime(): Promise; isPlayingAd(): Promise; isPaused(): Promise; isRepeated(): Promise; isAutoplay(): Promise; getVideoDuration(): Promise; render(): React.JSX.Element; } //# sourceMappingURL=index.d.ts.map