import { type MutableRefObject } from "react"; /** * Measures the scroll viewport, keeping the tallest value seen per layout. * * Rows stretch to fill the space, so the grid needs to know how much there is. * The measurement is kept per `key`, a string of everything that changes the * layout, because the container briefly reports a smaller height while it is * being laid out, and taking the smaller number would make the rows twitch. * * The key must include every input that affects density, row height included: * leaving one out means a density change silently reuses a stale measurement. */ export declare function useAgendaViewportHeight(scrollRef: MutableRefObject, key: string): number;