import type { Virtualizer } from "@tanstack/react-virtual";
import React from "react";
import type { ChatMessage, ContentSegment } from "~/types";
export interface ScrollContainerProps {
    children?: (message: ChatMessage, contentSegments?: ContentSegment[], index?: number) => React.ReactNode;
    className?: string;
    hasMore: boolean;
    isLoading: boolean;
    messages: ChatMessage[];
    onLoadMore: () => Promise<void>;
    scrollContainerRef: React.RefObject<HTMLDivElement | null>;
    shouldShowLoadMore: boolean;
    totalCount: number;
    virtualizer: Virtualizer<HTMLDivElement, Element>;
}
export declare const ScrollContainer: React.NamedExoticComponent<ScrollContainerProps>;
