export interface Params { text: string; } /** * * @name playVoiceByText * @title 文字转语音 * @param {string} text - 待转换的文本 * @return {string} code - 200:成功 | 404:失败 * @return {string} msg - 响应信息 * @return {unknown} data - 响应数据 * @since 4.3.0 * @fragment featch(params) { return suplink.playVoiceByText(params) } * @example * import { playVoiceByText } from '@suplink/jssdk'; * * playVoiceByText({ text: '你好' }).then((res) => console.log(res)) */ export default function playVoiceByText(params: Params): Promise>;