import { Theme } from '@mui/material/styles'; import { FC, ReactNode, RefObject } from 'react'; import { MediaProviderProps } from '../../context/MediaProvider'; import { DraggablePopoverProps } from '../draggable-popover/DraggablePopover'; export interface CorePlayerProps extends Partial>, Pick { /** The url of the media file to be played */ url: string; /** CSS class name applied to component */ className?: string; /** A MUI theme to control the stylization of the player . */ theme?: Theme; children: ReactNode; /** Url mime type */ mediaType?: string; /** Builds UI for the PIP Player */ PIPControls?: FC; /**