import "@react-stately/overlays"; import { RefObject } from "@react-types/shared"; export interface AriaNonModalProps { nonModalRef: RefObject; /** * Whether pressing the escape key closes the modal. * @default true */ keyboardDismissable?: boolean; }