/// <reference types="react" />
import { ButtonPropsType } from '../../../general';
export interface IOverlayProps {
    /** ID of the overlay */
    id?: string;
    /** If the overlay is showing or not */
    isOpen?: boolean;
    /** If the header divider is showing be or not */
    showDivider?: boolean;
    /** The maximum width of the modal */
    maxWidth?: number;
    /** Functions to handle the overlay */
    functions?: {
        /** Function to call when the user opens the modal */
        onOpen?: () => void;
        /** Function to call when the user closes the modal */
        onClose?: () => void;
    };
    /** Force elements on the form to show, regardless of the overlay state */
    forceShow?: {
        /** If an error, created externally, should always show */
        error?: false | string;
    };
    /** Whether to show the check icon */
    showIcon?: boolean;
    /** The title to show */
    title?: string | undefined;
    /** The content to show */
    children: JSX.Element | string;
    /** The buttons to render; these can also be handled inside `children` */
    buttons?: ButtonPropsType[];
    /** Additional classes */
    className?: string;
    /** GTM context */
    gtmContext?: string;
    /** Language to use */
    locale?: string;
}
declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
export default Overlay;
