import type Plyr from 'plyr';
import 'plyr/dist/plyr.css';
import './video-player.css';
export interface HTMLVideoElementWithPlyr extends HTMLVideoElement {
    plyr: Plyr;
}
type Props = {
    readonly playbackId: string;
    readonly poster: string;
    readonly currentTime?: number;
    readonly onLoaded: () => void;
    readonly onError: (error: ErrorEvent) => void;
    readonly onSize: (dim: {
        width: number;
        height: number;
    }) => void;
    readonly autoPlay?: boolean;
};
export declare const VideoPlayerWithControls: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLVideoElementWithPlyr>>;
export {};
