import React from "react";
import type { ChatMessage, LoadMessagesParams, LoadMessagesResult, ContentSegment } from "~/types";
export interface ConversationProps {
    chatId: string;
    children?: (message: ChatMessage, contentSegments?: ContentSegment[], index?: number) => React.ReactNode;
    className?: string;
    estimateSize?: number;
    onLoadMessages: (params: LoadMessagesParams) => Promise<LoadMessagesResult>;
    overscan?: number;
    paddingBottom?: number;
    paddingTop?: number;
    pageSize?: number;
}
export declare const Conversation: (props: ConversationProps) => import("react/jsx-runtime").JSX.Element | null;
