import React from "react"; import { Placement } from "popper.js"; interface OverlayProps { children: (options: { ref: any; show: boolean; arrowProps: { ref: any; style: {}; }; style: object; scheduleUpdate: () => void; outOfBoundaries: boolean; }) => React.ReactNode; zIndex?: number; show: boolean; placement?: Placement; flip?: boolean; containerPadding?: number; target: any; container?: any; popperConfig?: { modifiers?: any; }; } declare function Overlay({ children: overlay, zIndex, show, placement, flip, containerPadding, target, container, popperConfig, }: OverlayProps): JSX.Element; export default Overlay;