import type { DfuManagerType, DfuOptions } from '../interface.uts'; class MpWeixinDfuManager implements DfuManagerType { async startDfu(_deviceId: string, _firmwareBytes: Uint8Array, _options?: DfuOptions): Promise { throw new Error('小程序平台暂未实现 DFU 功能'); } } export const dfuManager = new MpWeixinDfuManager();