import React from 'react';
import type { DeviceModelItem, DeviceRow, I18nText, UpdateDevicePayload, WorkAreaItem } from '../../../../model';
import './index.less';
interface EditDeviceModalProps {
    open: boolean;
    record?: DeviceRow;
    workAreas: WorkAreaItem[];
    models: DeviceModelItem[];
    submitting: boolean;
    readonlyWorkArea?: boolean;
    nameOnly?: boolean;
    getText: (key: string) => string;
    translation: (val?: I18nText) => string;
    onCancel: () => void;
    onSubmit: (id: number, payload: UpdateDevicePayload) => void;
}
declare const EditDeviceModal: React.FC<EditDeviceModalProps>;
export default EditDeviceModal;
