import React from 'react';
import { IOverlay } from './types/overlay';
declare const OverlayBoundary: <V extends string | unknown>(props: IOverlay<V>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element;
declare const Overlay: <V extends string | unknown>(props: React.PropsWithChildren<IOverlay<V>> & {
    ref?: React.ForwardedRef<HTMLDivElement> | undefined | null;
}) => ReturnType<typeof OverlayBoundary>;
/**
 * @description
 * Overlay component is used to create a background overlay.
 * @param {React.PropsWithChildren<IOverlay<V>} props
 * @returns {JSX.Element}
 * @constructor
 */
export { Overlay };
