import type { Virtualizer } from '@tanstack/react-virtual'; import { type RefObject } from 'react'; /** * Options of the `useWarnUnboundedHeight` hook. * @internal */ interface UseWarnUnboundedHeightOptions { containerRef: RefObject; rowVirtualizer: Virtualizer; rowCount: number; isLoading: boolean; } /** * Warns once per mount when a DataTable with many rows renders all of them, * because its container grows to its content instead of scrolling. * @internal */ export declare function useWarnUnboundedHeightDev({ containerRef, rowVirtualizer, rowCount, isLoading, }: UseWarnUnboundedHeightOptions): void; /** * Selected once at module level instead of checking the environment inside the * hook, so that bundlers can drop the development implementation from * production builds. The selection never changes at runtime, so the rules of * hooks are not violated. * @internal */ export declare const useWarnUnboundedHeight: (options: UseWarnUnboundedHeightOptions) => void; export {}; //# sourceMappingURL=useWarnUnboundedHeight.d.ts.map