import React from 'react'; import type { JSX } from 'react'; import { FeedbackType, type SearchAiMessageResource, type ToolCall, type ContentSegment } from '../../core/types'; import { AiSearchConversationRole } from '../../core/constants'; export type SearchAiMessageProps = { role: AiSearchConversationRole; content: string; isThinking?: boolean; resources?: SearchAiMessageResource[]; className?: string; messageId?: string; feedback?: FeedbackType; onFeedbackChange: (messageId: string, feedback: FeedbackType | undefined) => void; toolCalls?: ToolCall[]; contentSegments?: ContentSegment[]; }; declare function SearchAiMessageComponent({ role, content, isThinking, resources, className, messageId, feedback, onFeedbackChange, toolCalls, contentSegments }: SearchAiMessageProps): JSX.Element; export declare const SearchAiMessage: React.MemoExoticComponent; export {};