import type { ReactNode, RefObject } from "react"; export type ModalProps = { "aria-label"?: string; "aria-labelledby"?: string; children: ReactNode; className?: string; /** Which element takes the caret when the modal opens. Without * it the focus manager takes the first tabbable element — the * Close button on anything with chrome. */ initialFocus?: RefObject; /** Escape and a backdrop press both close. */ isDismissable?: boolean; isVisible: boolean; /** * Every route out lands here: Escape, a backdrop press. Wire it to a * `useVisibility()`'s `hide`. */ onClose: () => void; role?: "alertdialog" | "dialog"; }; export declare const Modal: ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children, className, initialFocus, isDismissable, isVisible, onClose, role, }: ModalProps) => ReactNode; //# sourceMappingURL=Modal.d.ts.map