interface Message { type: "user" | "ai"; time: string; content: string; hasLLMConfig?: boolean; retrievedChunks?: Array<{ content: string; similarity: number; rerank: number; chunk_id: number; source: string; }>; prompt?: string; configInfo?: any; queryId?: string; fullContent?: string; finished?: boolean; typedLength?: number; } interface RetrieveTestProps { messages?: Message[]; onSearch?: (query: string, config: any) => void; setKbInfo?: any; } export default function RetrieveTest({ messages: initialMessages, onSearch, setKbInfo }: RetrieveTestProps): import("react/jsx-runtime").JSX.Element; export {};