import { RefObject } from 'react';

export declare const usePictureInPicture: (videoContainerRef: RefObject<HTMLElement | null>, leavePiPOnVisibilityChange: boolean) => {
    isPiP: boolean;
    isPiPSupported: boolean;
    enterPiP: () => Promise<void>;
    leavePiP: () => void;
    togglePiP: () => void;
    pipControlsContainer: HTMLDivElement | null;
};
