import React from 'react'; import type { FormInstance } from 'antd'; import type { DeviceModelItem, DeviceProfileItem, I18nText, LangDict, WorkAreaItem } from '../../types'; interface DeviceBasicInfoFormProps { form: FormInstance<{ name: LangDict; profile_id?: number; }>; selectedModel?: DeviceModelItem; profiles?: DeviceProfileItem[]; profileRequired?: boolean; showProfile?: boolean; workAreas?: WorkAreaItem[]; workAreaId?: number; currentWorkAreaId?: number; getText: (key: string) => string; translation: (val?: I18nText) => string; onWorkAreaChange?: (value: number) => void; onValuesChange?: (_changed: unknown, values: { name?: LangDict; }) => void; showSelectedModel?: boolean; } declare const DeviceBasicInfoForm: React.FC; export default DeviceBasicInfoForm;