/** * Modal open state plus a prop that outlives the close animation. * * The prop keys the modal component, so clearing it is delayed until the * animation finishes — and cancelled if the owner unmounts first, which would * otherwise set state on a torn-down tree. */ export declare function useModalStateValueWithProp(): { closeModal: () => void; isModalOpen: boolean; prop: T | null; openModal: (prop?: T | null) => void; };