import type { Virtualizer } from "@tanstack/react-virtual";
import { type ReactNode } from "react";
export declare const VirtualizerObserveElementRect: import("react").Context<((instance: Virtualizer<HTMLDivElement, Element>, cb: (rect: {
    width: number;
    height: number;
}) => void) => void) | undefined>;
export declare const VirtualizerObserveElementRectProvider: ({ children, }: {
    children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useObserveElementRect: () => ((instance: Virtualizer<HTMLDivElement, Element>, cb: (rect: {
    width: number;
    height: number;
}) => void) => void) | undefined;
