import type { ModalMode } from "../useModal"; /** * Calls onCloseComplete when the modal transitions from sheet→card mode while * already closed. This handles the race where the Sheet unmounts before its * transitionend fires (viewport widens mid-close), which would otherwise leave * pendingCloseModalRef armed and trigger the safety-timeout Sentry report. */ export declare function useSheetToCardCleanup(mode: ModalMode, isOpen: boolean, onCloseComplete: () => void): void;