import { ComponentProps, ReactNode } from "react"; import { InternalProps, OmitInternalProps, StyledComponentProps } from "../../shared"; declare const DefaultElement = "div"; export interface InnerOverlayProps extends InternalProps, Omit, "zIndex"> { /** * Hacky offset utility to apply a transparent CSS border to the overlay. * It's useful to prevent the overlay from closing when the mouse goes from the trigger to the overlay. */ borderOffset?: string | number; /** * React children. */ children: ReactNode; /** * A DOM element in which the overlay element will be appended via a React portal. */ containerElement?: HTMLElement; /** * Whether or not to show the overlay element. */ show: boolean; /** * The z-index of the overlay. */ zIndex?: number; } export declare function InnerOverlay({ as, borderOffset, children, containerElement, forwardedRef, show, zIndex, ...rest }: InnerOverlayProps): JSX.Element; export declare namespace InnerOverlay { var defaultElement: string; } /** * Container for overlays such as dialogs, popups, and menus. * * [Documentation](https://orbit.sharegate.design/?path=/docs/overlay--page) */ export declare const Overlay: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type OverlayProps = ComponentProps; export {};