import type { ComponentProps, ReactNode } from 'react';
import type { ColorKey } from '../../../theme/types';
import Space from '../Space/Space';
declare type OverlayProps = {
    children?: ReactNode;
    testID?: string;
    opacity?: number;
    onClick?: () => void;
    visible?: boolean;
    color?: ColorKey;
    nested?: boolean;
} & ComponentProps<typeof Space>;
declare const Overlay: ({ visible, children, testID, onClick, color, opacity, nested, ...props }: OverlayProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
export default Overlay;
