import * as React from 'react'; interface Size { width: number; height: number; } export declare function useScrollAreaRoot(): { getRootProps: (externalProps?: {}) => import("../../utils/types.js").WithBaseUIEvent, HTMLDivElement>>; handlePointerDown: (event: React.PointerEvent) => void; handlePointerMove: (event: React.PointerEvent) => void; handlePointerUp: (event: React.PointerEvent) => void; handleScroll: (scrollPosition: { x: number; y: number; }) => void; cornerSize: Size; setCornerSize: React.Dispatch>; thumbSize: Size; setThumbSize: React.Dispatch>; touchModality: boolean; cornerRef: React.RefObject; scrollingX: boolean; setScrollingX: React.Dispatch>; scrollingY: boolean; setScrollingY: React.Dispatch>; hovering: boolean; setHovering: React.Dispatch>; viewportRef: React.RefObject; scrollbarYRef: React.RefObject; scrollbarXRef: React.RefObject; thumbYRef: React.RefObject; thumbXRef: React.RefObject; rootId: string | undefined; hiddenState: { scrollbarYHidden: boolean; scrollbarXHidden: boolean; cornerHidden: boolean; }; setHiddenState: React.Dispatch>; }; export declare namespace useScrollAreaRoot { } export {};