import type { AI } from '@cloudbase/ai'; interface ICreateWebAiMethods { getAi(): Promise; } export declare function createWebAiAPI(): { ai: { LLM: { chat: (params: { provider: string; model: string; messages: import("@cloudbase/ai").ChatModelMessage[]; stream: boolean; temperature: number; top_p: number; varPath?: string; setStateType: string; callbackEventFlowId?: string; timeout?: number; }, $w: any) => Promise; }; bot: { getRecommendQuestions: (params: any, $w: any) => Promise<{ textStream: import("@cloudbase/ai").AsyncIterableReadableStream; eventStream: import("@cloudbase/ai").AsyncIterableReadableStream<{ content: string; }>; }>; sendMessage: (params: any, $w: any) => Promise<{ textStream: import("@cloudbase/ai").AsyncIterableReadableStream; eventStream: import("@cloudbase/ai").AsyncIterableReadableStream<{ content: string; }>; }>; }; }; }; export declare const createWebAiMethods: ({ getAi }: ICreateWebAiMethods) => { LLM: { chat: (params: { provider: string; model: string; messages: Array; stream: boolean; temperature: number; top_p: number; varPath?: string; setStateType: string; callbackEventFlowId?: string; timeout?: number; }, $w: any) => Promise; }; bot: { getRecommendQuestions: (params: any, $w: any) => Promise<{ textStream: import("@cloudbase/ai").AsyncIterableReadableStream; eventStream: import("@cloudbase/ai").AsyncIterableReadableStream<{ content: string; }>; }>; sendMessage: (params: any, $w: any) => Promise<{ textStream: import("@cloudbase/ai").AsyncIterableReadableStream; eventStream: import("@cloudbase/ai").AsyncIterableReadableStream<{ content: string; }>; }>; }; }; export {};