import React from 'react'; import type { DeviceRow, I18nText } from '../../types'; import './index.less'; interface DeviceTableProps { data: DeviceRow[]; loading: boolean; search: string; page: number; pageSize: number; linkingDeviceId?: number; getText: (key: string) => string; translation: (val?: I18nText) => string; onSearchChange: (value: string) => void; onPageChange: (page: number, pageSize: number) => void; onAdd: () => void; onLink: (record: DeviceRow) => void; onTakeover: (record: DeviceRow) => void; onEdit: (record: DeviceRow) => void; onDelete: (record: DeviceRow) => void; } declare const DeviceTable: React.FC; export default DeviceTable;