import * as React from 'react'; import type { BaseUIComponentProps } from '../../utils/types.js'; /** * A vertical or horizontal scrollbar for the scroll area. * Renders a `
` element. * * Documentation: [Base UI Scroll Area](https://base-ui.com/react/components/scroll-area) */ declare const ScrollAreaScrollbar: React.ForwardRefExoticComponent>; declare namespace ScrollAreaScrollbar { interface State { hovering: boolean; scrolling: boolean; orientation: 'vertical' | 'horizontal'; } interface Props extends BaseUIComponentProps<'div', State> { /** * Whether the scrollbar controls vertical or horizontal scroll. * @default 'vertical' */ orientation?: 'vertical' | 'horizontal'; /** * Whether to keep the HTML element in the DOM when the viewport isn’t scrollable. * @default false */ keepMounted?: boolean; } } export { ScrollAreaScrollbar };