import type { GetVoiceListParams, GetVoiceListResponse } from './type'; /** * 获取扫地机的语音包列表 * @public * @since @ray-js/ray 1.5.36 * @since 基础库 2.21.0 * @param params - 查询参数,包含设备 ID 和分页信息 * @returns Promise,resolve 值为语音包列表、当前页码和总数 * @example * ```tsx * import React from 'react'; * import { Button, getVoiceList } from '@ray-js/ray'; * * export default function Demo() { * const handleFetch = async () => { * const result = await getVoiceList({ * devId: 'your-device-id', * offset: 0, * limit: 100, * }); * console.log(result.datas, result.totalCount); * }; * return ; * } * ``` */ declare const getVoiceList: (params: GetVoiceListParams) => Promise; export default getVoiceList;