import React, { CSSProperties, ElementType, HTMLAttributes, MutableRefObject, ReactNode, Ref } from 'react'; import { DefaultScrollOptions, ScrollContainerCustomizedProps, ScrollContainerDefaultProps } from '../types'; interface BasicProps { hideScrollbars?: boolean; children?: ReactNode; className?: string; style?: CSSProperties; ref?: ReactNode; component?: ElementType; } declare type CustomizedProps = BasicProps & ScrollContainerCustomizedProps; declare type DefaultProps = BasicProps & ScrollContainerDefaultProps; declare const Body: (props: DefaultProps | CustomizedProps, ref: Ref) => JSX.Element; export declare const ScrollContainer: (props: (DefaultProps | CustomizedProps) & { ref?: React.MutableRefObject | undefined; } & React.HTMLAttributes) => ReturnType; export {};