import { ReactNode } from 'preact/compat'; import { Dispatch, MutableRef, StateUpdater } from 'preact/hooks'; export type ChatPosition = 'bottom' | 'side' | 'closed-bottom' | 'closed-side'; interface LayoutContextType { opened: boolean; setOpened: Dispatch>; isChatOpen: boolean; setIsChatOpen: Dispatch>; fullScreen: boolean; setFullScreen: Dispatch>; chatPosition: ChatPosition; wrapperRef: MutableRef | null; isSmallScreen: boolean; isHorizontal: boolean; updateLayout: () => void; isMobileOrientationBlocked?: boolean; } interface LayoutProviderProps { children: ReactNode; } declare const LayoutProvider: ({ children }: LayoutProviderProps) => import("preact").JSX.Element; export declare const useLayout: () => LayoutContextType; export default LayoutProvider;