import React, { Component } from 'react';
declare function canPlay(url: $TSFixMe): boolean;
declare function canEnablePIP(url: $TSFixMe): any;
export declare class FilePlayer extends Component<$TSFixMe> {
    static displayName: string;
    static canPlay: typeof canPlay;
    static canEnablePIP: typeof canEnablePIP;
    player: $TSFixMe;
    prevPlayer: $TSFixMe;
    hls: $TSFixMe;
    dash: $TSFixMe;
    componentDidMount(): void;
    componentDidUpdate(prevProps: $TSFixMe): void;
    componentWillUnmount(): void;
    addListeners(player: $TSFixMe): void;
    removeListeners(player: $TSFixMe): void;
    onReady: (...args: $TSFixMe) => any;
    onPlay: (...args: $TSFixMe) => any;
    onBuffer: (...args: $TSFixMe) => any;
    onBufferEnd: (...args: $TSFixMe) => any;
    onPause: (...args: $TSFixMe) => any;
    onEnded: (...args: $TSFixMe) => any;
    onError: (...args: $TSFixMe) => any;
    onEnablePIP: (...args: $TSFixMe) => any;
    onDisablePIP: (e: $TSFixMe) => void;
    onPresentationModeChange: (e: $TSFixMe) => void;
    onSeek: (e: $TSFixMe) => void;
    shouldUseAudio(props: $TSFixMe): any;
    shouldUseHLS(url: $TSFixMe): any;
    shouldUseDASH(url: $TSFixMe): any;
    load(url: $TSFixMe): void;
    play(): void;
    pause(): void;
    stop(): void;
    seekTo(seconds: number): void;
    setVolume(fraction: number): void;
    mute: () => void;
    unmute: () => void;
    enablePIP(): void;
    disablePIP(): void;
    setPlaybackRate(rate: number): void;
    getDuration(): any;
    getCurrentTime(): any;
    getSecondsLoaded(): any;
    getSource(url: $TSFixMe): any;
    renderSourceElement: (source: $TSFixMe, index: $TSFixMe) => React.JSX.Element;
    renderTrack: (track: $TSFixMe, index: $TSFixMe) => React.JSX.Element;
    ref: (player: $TSFixMe) => void;
    render(): React.JSX.Element;
}
export {};
//# sourceMappingURL=file-player.d.ts.map