type Dimensions = { width: string | undefined; height: string | undefined; }; /** * Measures the active page so the modal can animate between page sizes. * * The returned ref goes on the element holding the page's content. Attaching it * starts a fresh measurement, observes the element for later size changes, and * blocks pointer input for the length of the page transition. * * @param retriggers Values whose change means the content box may have moved * without the element itself changing — a chain switch, a viewport-class * change, or an explicit resize request. Pass the same number of values on * every render. * @returns The measured box, a callback ref for the content element, whether a * transition is in flight, and resets for the modal's open/close edges. */ export declare function useContentBounds(retriggers: readonly unknown[]): { dimensions: Dimensions; contentRef: (node: HTMLElement | null) => void; inTransition: boolean | undefined; clearBounds: () => void; clearTransition: () => void; }; export {};