///
type UseAvailableHeightArgs = {
enabled: boolean;
};
/**
* Measures the vertical space available for the table scroll container.
*
* EntityHub pages are JSON-driven and the table cannot assume a flex parent.
* David T.'s criterion: the table must not grow past the viewport — the pager
* stays visible and overflow scrolls inside the table. We measure from the
* container top to the viewport bottom, reserving {@link PAGER_RESERVED_HEIGHT}
* for the pager below. Recalculates on resize and layout changes, not scroll.
*/
export declare const useAvailableHeight: ({ enabled }: UseAvailableHeightArgs) => {
tableContainerRef: import("react").Dispatch>;
availableHeight: number | undefined;
};
export {};