import GptBase from "./gptbase";
export default class DouBaoAI extends GptBase {
    protected apiKey: string;
    protected apiOption: any;
    /**
     * 构造函数
     */
    constructor(apiKey: string, apiOption?: any);
    /**
     * 请求接口
     */
    chatRequest(chatText: string | Array<any>, callChatOption: any, axiosOption?: any): Promise<any>;
    /**
     * 组装最后的调用参数
     * @param callChatOption
     * @returns
     */
    private assembleApiParams;
    /**
     * 流式的聊天模式
     * @param chatText
     * @param _paramOption
     * @param axiosOption
     */
    chatRequestInStream(chatText: string | Array<any>, callChatOption: any, attach?: any, axiosOption?: any): Promise<any>;
    /**
     * 处理每次流式返回的对话片段
     * @param chunks
     * @param requestid
     * @param replytext
     * @param attach
     */
    processChunkData(chunks: string[], requestid: Number, replytext: string[], attach: any): void;
}
