import type { GetGyroLatestCleanMapParams, GetGyroLatestCleanMapResponse } from './type'; /** * 获取陀螺仪扫地机的最新清扫地图数据 * @public * @since @ray-js/ray 1.7.14 * @since 基础库 2.29.0 * @param params - 查询参数,包含设备 ID 和分页信息 * @returns Promise,resolve 值为最新一次清扫的地图数据和分页信息 * @example * ```tsx * import React from 'react'; * import { Button, getGyroLatestCleanMap } from '@ray-js/ray'; * * export default function Demo() { * const handleFetch = async () => { * const map = await getGyroLatestCleanMap({ * devId: 'your-device-id', * start: 0, * size: 100, * }); * console.log(map.dataList, map.hasNext); * }; * return ; * } * ``` */ declare const getGyroLatestCleanMap: (params: GetGyroLatestCleanMapParams) => Promise; export default getGyroLatestCleanMap;