import * as react from 'react'; import { ReactNode, ComponentProps } from 'react'; import { InternalProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import 'react/jsx-runtime'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; declare const DefaultElement = "div"; 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; } declare function InnerOverlay({ as, borderOffset, children, containerElement, forwardedRef, show, zIndex, ...rest }: InnerOverlayProps): JSX.Element; declare namespace InnerOverlay { var defaultElement: string; } /** * Container for overlays such as dialogs, popups, and menus. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/overlay--page) */ declare const Overlay: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type OverlayProps = ComponentProps; export { InnerOverlay, type InnerOverlayProps, Overlay, type OverlayProps };