import { PropsWithChildren, ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react'; export type OverlayProps = PropsWithChildren<{ fullscreen?: boolean | undefined; withBackdrop?: boolean | undefined; overlayLevel?: number; className?: string; classes?: { dialog?: string; body?: string; }; backdrop?: { opacity?: number; }; /** * Delay before showing the overlay content (in milliseconds) - helps to avoid flickering * Default: `130ms` * If set to `0`, the content will be shown immediately */ openDelay?: number; /** * Called when the overlay is closed by outside click or escape key */ onClose: () => void; onClick?: never; }>; export declare const Overlay: ForwardRefExoticComponent<{ fullscreen?: boolean | undefined; withBackdrop?: boolean | undefined; overlayLevel?: number; className?: string; classes?: { dialog?: string; body?: string; }; backdrop?: { opacity?: number; }; /** * Delay before showing the overlay content (in milliseconds) - helps to avoid flickering * Default: `130ms` * If set to `0`, the content will be shown immediately */ openDelay?: number; /** * Called when the overlay is closed by outside click or escape key */ onClose: () => void; onClick?: never; } & { children?: ReactNode | undefined; } & RefAttributes>;