import { MutableRefObject } from 'react';

type PageContextType = {
    activeSection: number | null;
    openTabs: number[];
    handleOpenCloseTab: (tabIdx: number) => void;
    selfShareViewRef: MutableRefObject<HTMLVideoElement | null>;
    videoContainerRef: MutableRefObject<HTMLDivElement | null>;
    isPiP: boolean;
    isPiPSupported: boolean;
    togglePiP: () => void;
    pipControlsContainer: HTMLDivElement | null;
    leavePiPOnVisibilityChange: boolean;
    toggleLeavePiPOnVisibilityChange: () => void;
};
export declare const PageContext: import('react').Context<PageContextType>;
export declare const useMainPageContext: () => PageContextType;
export {};
