import React from 'react';
import { ValueOf } from '@mux/playback-core';
import { MuxPlayerProps } from './index';
import MuxPlayerElement from '@mux/mux-player';
interface MuxPlayerElementReact extends Partial<Pick<MuxPlayerElement, Exclude<keyof MuxPlayerElement, 'style' | 'children' | 'autoplay' | 'capRenditionToPlayerSize'>>> {
    ref: React.MutableRefObject<MuxPlayerElement | null> | null | undefined;
    style?: React.CSSProperties;
    children?: React.ReactNode;
    autoplay?: MuxPlayerProps['autoPlay'];
    'cap-rendition-to-player-size'?: boolean;
}
declare global {
    namespace JSX {
        interface IntrinsicElements {
            'mux-player': MuxPlayerElementReact;
        }
    }
}
type LoadingType = {
    PAGE: 'page';
    VIEWPORT: 'viewport';
};
declare const LoadingType: LoadingType;
interface MuxPlayerLazyProps extends MuxPlayerProps {
    loading?: ValueOf<LoadingType>;
}
declare const MuxPlayer: React.ForwardRefExoticComponent<MuxPlayerLazyProps & React.RefAttributes<MuxPlayerElement>>;
export default MuxPlayer;
