import { type ReactNode } from 'react';
/**
 * Handles modal.
 *
 * @private internal subcomponent used by various components
 */
export declare function Modal({ children, onClose, className, }: {
    children: ReactNode;
    onClose: () => void;
    className?: string;
}): import("react").ReactPortal;
