import { TcbContext } from '../types'; import * as tools from './tools'; export * from './tools'; export declare class AITools { private baseURL; private token; constructor(context: TcbContext); searchFile(botId: string, msg: string, files: string[]): Promise; searchDB(botId: string, msg: string, databaseModel: string[]): Promise; searchKnowledgeBase(botId: string, msg: string, knowledgeBase: string[]): Promise; searchNetwork(botId: string, msg: string): Promise; speechToText(botId: string, engSerViceType: string, voiceFormat: string, voiceUrl: string): Promise; textToSpeech(botId: string, text: string, voiceType: number): Promise; getTextToSpeech(botId: string, taskId: string): Promise; getWxMediaContent(botId: string, triggerSrc: string, media: string): Promise; sendWxClientMessage(botId: string, triggerSrc: string, wxClientMessage: tools.WxClientMessageDto): Promise; }