import React from 'react'; import type { DeviceInfo, ServerDeviceInfo } from './interface'; export interface MapDeviceSelectionProps { /** * 样式类的前缀 */ prefixCls?: string; /** * 额外的样式类 */ className?: string; /** * 额外的样式 */ style?: React.CSSProperties; /** * 选中的设备集合 */ value?: string[]; /** * 指定设备中唯一标识,只针对于灵思设备,请谨慎设置 * @default `cid` */ deviceKey?: string; /** * 是否是只读状态 */ readonly?: boolean; /** * 设备集合 */ list?: ServerDeviceInfo[] | DeviceInfo[]; /** * 国标设备集合 */ listGB?: ServerDeviceInfo[] | DeviceInfo[]; /** * 是否需要处理数据 * 使用场景上层组件已调用utils中的转换数据的方法 */ transformData?: boolean; /** * 设备选择变化的回调 */ onChange?: (value: string[]) => void; /** * 选择设备点击回调 */ onSelectDeviceClick?: () => void; themeStatus?: boolean; setThemeStatus?: (status: boolean) => void; } export declare const MapDeviceSelection: React.FC; export default MapDeviceSelection;