/** 当前设备类型 code 的 localStorage key。 */ export declare const TYPE_CODE_STORAGE_KEY = "pisell_iot_type_code"; /** 当前设备型号 code 的 localStorage key。 */ export declare const MODEL_CODE_STORAGE_KEY = "pisell_iot_model_code"; /** App 类型 key;universal 类型会允许用户切换型号。 */ export declare const APP_TYPE_STORAGE_KEY = "pisell_app_type"; /** 从 App storage 读取出的当前/上次设备标识。 */ export interface StoredIotDevice { /** 上次使用设备 id,用于标记 Last Used。 */ id?: number; /** 当前设备 number,用于标记 Current Device。 */ number: string; } /** 读取当前 App storage 中的当前设备和上次使用设备。 */ export declare const getStoredIotDevice: (app: any) => StoredIotDevice; /** 持久化当前选择的设备类型和型号。 */ export declare const persistDeviceModel: (nextTypeCode?: string, nextModelCode?: string) => void; /** 读取持久化的当前设备类型 code。 */ export declare const getStoredTypeCode: () => string; /** 读取持久化的当前设备型号 code。 */ export declare const getStoredModelCode: () => string; /** 判断当前 App 是否为 universal 类型,决定是否展示型号切换入口。 */ export declare const isUniversalApp: () => boolean;