import * as React from 'react'; export interface ScrollAreaRootContext { cornerSize: { width: number; height: number; }; setCornerSize: React.Dispatch>; thumbSize: { width: number; height: number; }; setThumbSize: React.Dispatch>; touchModality: boolean; hovering: boolean; setHovering: React.Dispatch>; scrollingX: boolean; setScrollingX: React.Dispatch>; scrollingY: boolean; setScrollingY: React.Dispatch>; viewportRef: React.RefObject; scrollbarYRef: React.RefObject; thumbYRef: React.RefObject; scrollbarXRef: React.RefObject; thumbXRef: React.RefObject; cornerRef: React.RefObject; handlePointerDown: (event: React.PointerEvent) => void; handlePointerMove: (event: React.PointerEvent) => void; handlePointerUp: (event: React.PointerEvent) => void; handleScroll: (scrollPosition: { x: number; y: number; }) => void; rootId: string | undefined; hiddenState: { scrollbarYHidden: boolean; scrollbarXHidden: boolean; cornerHidden: boolean; }; setHiddenState: React.Dispatch>; } export declare const ScrollAreaRootContext: React.Context; export declare function useScrollAreaRootContext(): ScrollAreaRootContext;