declare class StudyRecord { request: any; constructor(props: any); /** * 获取学习位置 */ getLearningPosition: ({ resourceId, userId }: { resourceId: any; userId: any; }) => Promise; /** * 报告学习位置 */ reportLearningPosition: ({ resourceId, userId, position }: { resourceId: any; userId: any; position: any; }) => Promise; /** * 获取学习进度列表 * @param {Object} params * @return {Object} { total, items } | {} // total: 总数,items:当前页的资源数据 */ getLearningProgress: ({ resourceId, userId }: { resourceId: any; userId: any; }) => Promise; /** * 报告学习进度 * https://wiki.doc.101.com/index.php?title=X%E5%AD%A6%E4%B9%A0%E9%A1%B9%E7%9B%AE%E6%B5%8F%E8%A7%88%E5%8E%86%E5%8F%B2 * @param {Object} body * @return {void} */ reportLearningProgress: (body: any) => Promise; } export default StudyRecord;