import { Virtualizer } from "@tanstack/react-virtual";
import type { ChatMessage } from "~/types";
interface UseMessageVirtualizerProps {
    estimateSize?: number;
    messages: ChatMessage[];
    overscan?: number;
    paddingBottom?: number;
    paddingTop?: number;
    scrollContainerRef: React.RefObject<HTMLDivElement>;
}
export interface MessageVirtualizerReturn {
    virtualizer: Virtualizer<HTMLDivElement, Element>;
}
export declare function useMessageVirtualizer({ messages, scrollContainerRef, estimateSize, overscan, paddingTop, paddingBottom, }: UseMessageVirtualizerProps): MessageVirtualizerReturn;
export {};
