import { TooltipProps } from 'antd';
import { default as React } from 'react';
import { OverlayScrollerOptions } from '../../../lib/hooks/use-overlay-scroller';
export type { OverlayScrollerOptions };
export declare const OverlayScroller: React.FC<OverlayScrollerOptions & {
    maxHeight?: number | string;
    style?: React.CSSProperties;
    styles?: {
        wrapper?: React.CSSProperties;
    };
    children: React.ReactNode;
    onScroll?: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void;
}>;
/**
 *
 * @param maxHeight: use for scrollbars
 * @param theme: because this component is used for tooltip, so the default theme always is light
 * @returns
 */
export declare const TooltipOverlayScroller: React.FC<OverlayScrollerOptions & {
    maxHeight?: number;
    title?: React.ReactNode;
    children: React.ReactNode;
    toolTipProps?: TooltipProps;
}>;
export default OverlayScroller;
