import React from 'react';
import { PlayerReference } from 'video-react';
import { type MediaViewerProps } from './MediaViewer.models';
export type PlayerProps = PlayerReference;
type FilePlayerProps = {
    setIsPlaying: React.Dispatch<React.SetStateAction<string>>;
    isPlaying: MediaViewerProps['file']['name'];
    setPlayerRef: React.Dispatch<React.SetStateAction<PlayerReference | null>>;
    playableFile: {
        isPlayable: string | undefined;
        fileType: string;
    };
};
type MediaViewerPreviewOtherProps = {
    file: MediaViewerProps['file'];
    playerProps?: never;
};
type MediaViewerPreviewPlayerProps = {
    file: MediaViewerProps['file'];
    playerProps: FilePlayerProps;
};
type MediaViewerPreviewProps = MediaViewerPreviewOtherProps | MediaViewerPreviewPlayerProps;
declare const MediaViewerPreview: ({ file, playerProps, }: MediaViewerPreviewProps) => JSX.Element;
export default MediaViewerPreview;
