import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; import * as React from "react"; interface ScrollAreaProps extends React.ComponentPropsWithoutRef { hideScrollBar?: boolean; orientation?: "vertical" | "horizontal"; scrollBarClassName?: string; viewportClassName?: string; scrollStyles?: { active?: string; inactive?: string; }; viewportRef?: React.RefObject; } declare const ScrollArea: React.ForwardRefExoticComponent>; declare const scrollBarSizes: { readonly compact: { readonly bar: { readonly vertical: "s-w-5"; readonly horizontal: "s-h-5"; }; readonly padding: { readonly vertical: "s-pr-1 s-pl-2.5 s-py-2 hover:s-pl-2"; readonly horizontal: "s-pb-1 s-pt-2.5 s-px-2"; }; readonly thumb: string; }; readonly classic: { readonly bar: { readonly vertical: "s-w-5"; readonly horizontal: "s-h-5"; }; readonly padding: { readonly vertical: "s-pl-2 s-pr-1 s-py-1"; readonly horizontal: "s-py-0.5 s-px-1"; }; readonly thumb: string; }; readonly minimal: { readonly bar: { readonly vertical: "s-w-3"; readonly horizontal: "s-h-3"; }; readonly padding: { readonly vertical: "s-pr-px s-pl-1.5 s-py-px"; readonly horizontal: "s-pb-px s-pt-1.5 s-px-px"; }; readonly thumb: string; }; }; type ScrollBarSize = keyof typeof scrollBarSizes; interface ScrollBarProps extends React.ComponentPropsWithoutRef { size?: ScrollBarSize; } declare const ScrollBar: React.ForwardRefExoticComponent>; export { ScrollArea, ScrollBar }; export type { ScrollAreaProps, ScrollBarSize }; //# sourceMappingURL=ScrollArea.d.ts.map