import type { TransitionProps } from "../Transition"; interface UseModalInput { opened: boolean; onClose: () => void; id?: string; transitionProps?: Omit; trapFocus?: boolean; closeOnEscape?: boolean; returnFocus?: boolean; } export declare function useModal({ id, transitionProps, opened, trapFocus, closeOnEscape, onClose, returnFocus, }: UseModalInput): { _id: string; titleMounted: boolean; bodyMounted: boolean; shouldLockScroll: boolean; setTitleMounted: import("react").Dispatch>; setBodyMounted: import("react").Dispatch>; }; export {};