import React from 'react';
import type { DeviceItem, DeviceRow, I18nText } from '../../../../model';
import type { DrawerTabKey } from '../../types';
import './index.less';
interface DeviceDetailDrawerProps {
    open: boolean;
    record?: DeviceRow;
    initialTab?: DrawerTabKey;
    /**
     * 只读模式：隐藏 info tab 底部「编辑 / 删除」按钮，连接 tab 仅查看（无新增 / 编辑 / 删除入口）。
     * 用于拓扑图等纯展示场景。
     */
    readonly?: boolean;
    getText: (key: string) => string;
    translation: (val?: I18nText) => string;
    onClose: () => void;
    onEdit?: () => void;
    onDelete?: () => void;
    onEditDevice?: (device: DeviceItem) => void;
    onDeleteDevice?: (device: DeviceItem) => void;
    onConnectionsChanged?: () => void;
    connectionsRefreshKey?: number;
    deletingDevice?: boolean;
}
declare const DeviceDetailDrawer: React.FC<DeviceDetailDrawerProps>;
export default DeviceDetailDrawer;
