import React from 'react';
import type { JSX } from 'react';
import type { AiSearchConversationItem, SearchAiMessageResource, ToolCall, ContentSegment } from '../../core/types';
import { AiSearchError } from '../../core/constants';
export type SearchAiDialogProps = {
    response: string | undefined;
    isGeneratingResponse: boolean;
    error: AiSearchError | null;
    resources: SearchAiMessageResource[];
    initialMessage?: string;
    className?: string;
    conversation: AiSearchConversationItem[];
    setConversation: React.Dispatch<React.SetStateAction<AiSearchConversationItem[]>>;
    onMessageSent: (message: string, history?: AiSearchConversationItem[], messageId?: string) => void;
    toolCalls?: ToolCall[];
    contentSegments?: ContentSegment[];
};
export declare function SearchAiDialog({ isGeneratingResponse, response, initialMessage, error, resources, onMessageSent, className, conversation, setConversation, toolCalls, contentSegments, }: SearchAiDialogProps): JSX.Element;
