import * as React from 'react'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; /** * Cross-platform styled scrollable area. * * @description * Replaces the native OS scrollbar (which looks different on Windows/macOS/Linux) * with a consistent, smooth, styled scrollbar across all platforms. * * @ai-rules * 1. NEVER use `overflow-auto` or `overflow-y-auto` directly in complex modal layouts (e.g., ``) — use ``. * 2. The root element MUST have a fixed height or `max-h-` class — without it, the area will grow infinitely. */ declare function ScrollArea({ className, children, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; export { ScrollArea, ScrollBar };