import { WritableAtom } from 'nanostores'; import { RefObject, Provider } from 'react'; export type RootContainerContextType = { readonly id: string; readonly selector: string; readonly ref: RefObject; readonly $panning: WritableAtom; readonly reducedGraphics: boolean; }; export declare const RootContainerContextProvider: Provider; export declare function useRootContainerContext(): RootContainerContextType | null; export declare function useRootContainer(): RootContainerContextType; export declare function useRootContainerRef(): RefObject; export declare function useRootContainerElement(): HTMLDivElement | null; /** * Hook to determine if reduced graphics mode is enabled. */ export declare function useIsReducedGraphics(): boolean; export declare function useIsPanning(): boolean;