import type { IRoom } from '@rocket.chat/core-typings'; type AISearch = { query: string; intelligentCount?: number; rid?: string; rids?: string; roomNames?: string; fromUsername?: string; fromUsernames?: string; startDate?: string; endDate?: string; }; export declare const isAISearchProps: import("ajv").ValidateFunction; export type SearchAnswer = { query: string; messages: { _id: string; score?: number; }[]; }; export declare const isSearchAnswerProps: import("ajv").ValidateFunction; export type AISearchResult = { _id: string; rid?: string; msgId?: string; text: string; score?: number; ts?: string; u?: { username: string; name?: string; }; room?: Pick; }; export type AISearchEndpoints = { '/v1/ai.search': { GET: (params: AISearch) => { intelligent: AISearchResult[]; meta: { intelligentSearchEnabled: boolean; intelligentSearchConfigured: boolean; answerGenerationConfigured: boolean; }; }; }; '/v1/ai.search.answer': { POST: (params: SearchAnswer) => { answer: string; provider: { name: string; model: string; }; }; }; '/v1/ai.llm.models': { GET: () => { data: { key: string; label: string; }[]; }; }; }; export {}; //# sourceMappingURL=aiSearch.d.ts.map