import React from 'react'; import { BoxSystemProps } from './Box'; import { StyleConfig } from '../utils/styleConfig'; export declare type OverlayParts = { overlay: 'enter' | 'opened' | 'exit'; }; declare type OverlayDOMProps = React.ComponentPropsWithRef<'div'>; declare type OverlayStyleConfigProp = { styleConfig?: StyleConfig; }; declare type OverlaySystemProps = BoxSystemProps; export declare type OverlayProps = OverlayDOMProps & OverlayStyleConfigProp & OverlaySystemProps & { as?: React.ElementType; }; export declare const Overlay: React.ForwardRefExoticComponent & React.RefAttributes>; export {};