import * as React from "react"; import type { ScrollAreaProp } from "../../props/components/data-display.prop.js"; export type ScrollAreaProps = ScrollAreaProp & Omit, keyof ScrollAreaProp>; export declare const ScrollArea: React.ForwardRefExoticComponent, HTMLDivElement>, "ref">, keyof ScrollAreaProp> & React.RefAttributes>; /** * Deliberately NOT exported: a deprecated no-op must not grow the package's public type surface. * Nothing was exported for it before either — it used to be typed straight off Radix. */ type ScrollBarProps = { orientation?: "vertical" | "horizontal"; className?: string; }; /** * @deprecated Renders nothing. Native scrolling has no separate bar element to mount: the browser * draws the scrollbar for whichever axis overflows, and WHICH axes may overflow is * ``. * * Under Radix, mounting a `ScrollBar` was what ENABLED its axis (Radix read `scrollbarXEnabled` / * `scrollbarYEnabled` from these children and wrote the viewport's inline `overflowX`/`overflowY` * from them), so `` was load-bearing rather than decorative. * It is kept as an inert export so existing call sites keep compiling; move the intent to * `orientation` — `` is the replacement for a vertical area that * also mounted a horizontal bar. */ export declare function ScrollBar(_props: ScrollBarProps): null; export {};