import { type RefObject } from "react"; export interface ListHeightHookProps { borderless?: boolean; displayedItemCount: number; getItemHeight?: (index: number) => number; height?: number | string; itemCount: number; itemGapSize: number; itemHeight?: number | string; rowHeightRef: RefObject; } export interface HeightHookResult { preferredHeight: number | undefined; } export declare const useListHeight: ({ borderless, displayedItemCount, getItemHeight, height: _height, itemCount, itemGapSize, itemHeight: itemHeightProp, rowHeightRef, }: ListHeightHookProps) => HeightHookResult;