import { Ref } from "react"; import RAC from "react-aria-components"; export interface ModalProps extends Omit { /** Whether the overlay is open by default (controlled). */ open?: boolean; /** * Whether to close the modal when the user interacts outside it. * @default false */ dismissable?: boolean; /** * Whether pressing the escape key to close the modal should be disabled. * @default true */ keyboardDismissable?: boolean; size?: string; } declare const ModalBase: ({ size, open, dismissable, keyboardDismissable, onOpenChange, children, ref, ...props }: Omit & { ref?: Ref; }) => import("react").JSX.Element; export { ModalBase as Modal };