/** * CheckUnlockMethodParams - 查询解锁方式参数 */ type CheckUnlockMethodParams = { devId: string; }; /** * CheckUnlockMethodResult - 查询解锁方式结果 */ type CheckUnlockMethodResult = boolean; /** * 查询是否有解锁方式需要分配 * @param {CheckUnlockMethodParams} params - 查询解锁方式参数 * @returns {Promise} - 查询结果的 Promise */ declare const checkUnlockMethod: (params: CheckUnlockMethodParams) => Promise; /** * GetUnlockMethodListParams - 查询开锁方式列表参数 */ type GetUnlockMethodListParams = { devId: string; }; /** * UnlockInfo - 解锁方式信息 */ type UnlockInfo = { unlockId: string; unlockName: string; opmodeId?: number; }; /** * GetUnlockMethodListResult - 查询开锁方式列表结果 */ type GetUnlockMethodListResult = { opmode: boolean; unlockInfo: UnlockInfo[]; }; /** * 查询需要分配的开锁方式列表 * @param {GetUnlockMethodListParams} params - 查询开锁方式列表参数 * @returns {Promise} - 查询结果的 Promise */ declare const getUnlockMethodList: (params: GetUnlockMethodListParams) => Promise; /** * BindUnlockMethodToUserParams - 绑定解锁方式参数 */ type BindUnlockMethodToUserParams = { devId: string; userId: string; unlockIds: string[]; }; /** * BindUnlockMethodToUserResponse - 绑定解锁方式响应 */ type BindUnlockMethodToUserResponse = boolean; /** * 绑定解锁方式到人 * @param {BindUnlockMethodToUserParams} params - 绑定解锁方式参数 * @returns {Promise} - 绑定结果的 Promise */ declare const bindUnlockMethodToUser: (params: BindUnlockMethodToUserParams) => Promise; export { checkUnlockMethod, getUnlockMethodList, bindUnlockMethodToUser };