import React from 'react';
import { DropdownLayoutProps } from '.';
import { OverlayScrollbarContent, OverlayScrollbarHost } from '../providers/useOverlayScrollbar/useOverlayScrollbar';
import { DropdownLayout } from './DropdownLayout';
export type WithOverlayScrollbarProps = {
    overlayScrollbarProps?: {
        OverlayScrollbarHostElement: OverlayScrollbarHost;
        OverlayScrollbarContentElement: OverlayScrollbarContent;
    };
    ref?: React.ForwardedRef<DropdownLayout>;
};
type Props = DropdownLayoutProps & WithOverlayScrollbarProps;
declare const withOverlayScrollbar: (WrappedComponent: typeof DropdownLayout) => React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<DropdownLayout>>;
export { withOverlayScrollbar };
//# sourceMappingURL=withOverlayScrollbar.d.ts.map