import React from 'react';
import type { AIChatBoxRendererProps, IChatItem } from './types';
export declare const ChatItemView: React.MemoExoticComponent<({ item, isLast, className, chatAskConfig, chatAnswerConfig, emitEventProps: { render, data }, renderAnswerToolbar }: {
    item: IChatItem;
    isLast: boolean;
    className?: string;
    chatAskConfig: AIChatBoxRendererProps["chatAskConfig"];
    chatAnswerConfig: AIChatBoxRendererProps["chatAnswerConfig"];
    emitEventProps: Pick<AIChatBoxRendererProps, "data" | "onEvent" | "dispatchEvent" | "render">;
    /**
     * 单条聊天记录的操作按钮
     */
    renderAnswerToolbar: (item: IChatItem, isLast: boolean) => JSX.Element | null;
}) => JSX.Element>;
