import type { DeviceBrandItem, DeviceKind, DeviceModelItem } from '../model'; export declare const DEVICE_ICON_COLOR: Record; export declare const CONNECTION_TYPE_OPTIONS: { label: string; value: string; }[]; export declare const BRAND_OPTION_SEPARATOR = "__"; /** 把品牌 id 和 code 编码成 Select value,避免 code 中特殊字符与 id 冲突。 */ export declare const getBrandOptionValue: (brand: DeviceBrandItem) => string; /** 从品牌 Select value 中还原 brand_code。 */ export declare const getBrandCodeFromOptionValue: (value?: string) => string | undefined; /** 读取型号支持的连接方式,用于外设型号筛选和连接配置展示。 */ export declare const getModelConnectionTypes: (model: DeviceModelItem) => string[]; /** 把连接方式 code 转成 UI 展示文案。 */ export declare const getConnectionTypeLabel: (value?: string) => string; /** 判断当前型号是否必须选择 profile。 */ export declare const isProfileRequired: (model?: DeviceModelItem) => boolean; /** 判断多语言表单值是否至少有一个非空语言值。 */ export declare const hasI18nValue: (value?: Record) => boolean;