import React from 'react'; import type { DeviceProfileItem, DeviceTypeItem, I18nText } from '../../types'; import './index.less'; declare type Mode = 'create' | 'duplicate'; interface CreateProfileModalProps { open: boolean; onClose: () => void; onSuccess: () => void; deviceType?: DeviceTypeItem; getText: (key: string) => string; translation: (val: I18nText) => string; mode?: Mode; sourceProfile?: DeviceProfileItem; variant?: string; } declare const CreateProfileModal: React.FC; export default CreateProfileModal;