export interface TextSpeechType { /** 语音合成链接超时时间戳 如1525930552,超时后无法播放,可使用时间为3小时 */ expired_time: number; /** 语音合成返回的语音地址,可自行下载使用 */ filename: string; /** 原始文本 */ origin: string; /** retcode == 0 时请求成功 */ retcode: number; } export interface errorType { /** -20001语音合成语言格式出错, -20002输入的待合成格式不正确, -20003语音合成内部错误, -20005网络错误, -40001接口调用频率达到限制,请联系插件开发者*/ retcode: -20001 | -20002 | -20003 | -20005 | -40001; /** 错误信息 */ msg: string; } declare const _default: () => { TTSpaying: boolean; playTTS: (text: string) => void; closeTTS: () => void; TTSImg: string; toggleTTS: (text: string) => void; }; export default _default;