import { type DataTestId, type MaskingProps, type StylingProps, type WithChildren, type AriaLabelingProps } from '@dynatrace/strato-components/core'; import type { OverlayProps } from '../hooks/useOverlayWithTrigger.js'; /** * @public */ export interface OverlayComponentProps extends AriaLabelingProps, WithChildren, DataTestId, StylingProps, MaskingProps { /** Whether the overlay is open. */ isOpen: OverlayProps['overlayState']['isOpen']; /** * Properties for connecting the overlay to the overlay trigger. * Includes styles and accessibility attributes. */ overlayProps?: OverlayProps['overlayProps']; } /** * The `Overlay` component allows you to show additional content when the user * clicks on a particular element in the UI. The `Overlay` is placed * at the border of its trigger element. To define a UI element as * a trigger, use the `useOverlayWithTrigger` hook. The Overlay only * exists in a controlled manner, so the `isOpen` prop must be * updated by the developer. * @public */ export declare const Overlay: (props: OverlayComponentProps & import("react").RefAttributes) => React.ReactElement | null;