export const TYPE_IMAGE: "img";
export const TYPE_PDF: "pdf";
export const TYPE_VIDEO: "video";
export const TYPE_AUDIO: "audio";
export default ResourcePlayer;
declare class ResourcePlayer extends React.Component<any, any, any> {
    static propTypes: {
        className: PropTypes.Requireable<string>;
        resource: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
            id: PropTypes.Requireable<string>;
            width: PropTypes.Requireable<string>;
            height: PropTypes.Requireable<string>;
            url: PropTypes.Requireable<any>;
            onPlay: PropTypes.Requireable<(...args: any[]) => any>;
            onResume: PropTypes.Requireable<(...args: any[]) => any>;
            onPause: PropTypes.Requireable<(...args: any[]) => any>;
            onEnded: PropTypes.Requireable<(...args: any[]) => any>;
            onError: PropTypes.Requireable<(...args: any[]) => any>;
            autoplay: PropTypes.Requireable<boolean>;
            disableAutostart: PropTypes.Requireable<boolean>;
            loading: PropTypes.Requireable<boolean>;
            jwpOptions: PropTypes.Requireable<PropTypes.InferProps<{
                file: PropTypes.Requireable<any>;
                customProps: PropTypes.Requireable<PropTypes.InferProps<{
                    aspectratio: PropTypes.Requireable<string>;
                    tracks: PropTypes.Requireable<(PropTypes.InferProps<{
                        file: PropTypes.Requireable<any>;
                        label: PropTypes.Requireable<string>;
                        kind: PropTypes.Requireable<string>;
                        default: PropTypes.Requireable<boolean>;
                    }> | null | undefined)[]>;
                    autostart: PropTypes.Requireable<string>;
                    width: PropTypes.Requireable<string>;
                    skin: PropTypes.Requireable<PropTypes.InferProps<{
                        name: PropTypes.Requireable<string>;
                    }>>;
                }>>;
                licenseKey: PropTypes.Validator<string>;
                playerScript: PropTypes.Validator<any>;
                playerId: PropTypes.Validator<string>;
            }>>;
            mimeType: PropTypes.Validator<string>;
            type: PropTypes.Validator<any>;
            description: PropTypes.Validator<string>;
        }> | PropTypes.InferProps<{
            description: PropTypes.Requireable<string>;
            mediaUrl: PropTypes.Requireable<string>;
            poster: PropTypes.Requireable<string>;
            onPlay: PropTypes.Requireable<(...args: any[]) => any>;
            type: PropTypes.Validator<any>;
        }> | PropTypes.InferProps<{
            type: PropTypes.Validator<any>;
            url: PropTypes.Validator<string>;
        }> | null | undefined>>;
        overlay: PropTypes.Requireable<PropTypes.InferProps<{
            title: PropTypes.Requireable<string>;
            text: PropTypes.Requireable<string>;
            lifeAmount: PropTypes.Requireable<number>;
        }>>;
    };
    constructor(props: any, context: any);
    state: {
        autoplay: boolean;
        overlay: any;
    };
    handleOverlay(): void;
    render(): JSX.Element;
}
import React from "react";
import PropTypes from "prop-types";
//# sourceMappingURL=index.d.ts.map