import type { Dispatch, RefObject, SetStateAction } from 'react'; /** * Hook for managing modal animation. * * This hook provides functionality for managing the animation of a modal component. * It controls the opening and closing animation of the modal based on the provided * `open` state. The hook returns the animation controls and modal ref to be used in * the modal component. * * @param state Ref object for managing the modal state. * @returns The animation controls and modal ref. * * @example * ```tsx * const {controls, modal} = useModalAnimation(state); * ``` */ export declare const useModalAnimation: (state: RefObject> | null>) => { controls: import("motion").LegacyAnimationControls; modal: RefObject; setOpen: Dispatch>; showContent: boolean; };