import { MutableRefObject } from 'react'; import { ModalScroll } from '../components/Modal'; export interface ModalSectionsState { hasHeader: boolean; hasLeftSidebar: boolean; hasRightSidebar: boolean; } export interface ModalContextValue extends ModalSectionsState { scroll: ModalScroll; bodyRef: MutableRefObject; setSectionState: (key: keyof ModalSectionsState, isPresent: boolean) => void; onClose?(): void; } export declare const ModalContextProvider: import("react").Provider; export declare function useModalContext(): ModalContextValue;