import type { PropsWithChildren } from 'react'; import { Component } from 'react'; import type PerfectScrollbarType from 'perfect-scrollbar'; export interface PerfectScrollbarProps { options?: PerfectScrollbarType.Options; className?: string; updateFn?: (fn: any) => void; } export declare class PerfectScrollbar extends Component { private _container; private inst; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; handleRef: (ref: HTMLDivElement) => void; render(): JSX.Element; } export declare function PerfectScrollbarWrap({ children, ...rest }: PropsWithChildren): JSX.Element;