import { FC } from 'react';
import { IMedia } from '../../../../../../types';
interface VideoPlayerProps {
    post: IMedia;
    /** Hint the browser to buffer this video ahead of time (e.g. for neighbour slides). */
    preload?: boolean;
    /** Disable video src to prevent idle neighbours from loading. */
    srcEnabled?: boolean;
    /** Called when the current (non-preload) video is ready to render. */
    onVideoReady?: () => void;
    isMuted: boolean;
    isPlaying: boolean;
    togglePlay: () => void;
    objectFit?: 'contain' | 'cover';
    /** When true, always shows the duration bar.
     * When undefined, falls back to showing it only when mobile_player_product_cta is 'none'. */
    showDurationBar?: boolean;
    /** When true, clicking the video element will not toggle play/pause.
     * Use on desktop where tap navigation handles clicks. */
    disableClickToPlay?: boolean;
    /** When true, the duration bar is anchored to the top edge instead of the bottom. */
    durationBarAtTop?: boolean;
    /** Called when the video reaches its end (only fires when provided; disables loop). */
    onVideoEnded?: () => void;
}
declare const VideoPlayer: FC<VideoPlayerProps>;
export default VideoPlayer;
