import React from 'react'; import type { DeviceKind, DeviceRow } from '../../types'; import './index.less'; interface DeviceTableProps { activeKind: DeviceKind; data: DeviceRow[]; loading: boolean; search: string; typeFilter?: string; typeOptions: { label: string; value: string; }[]; page: number; pageSize: number; getText: (key: string) => string; onSearchChange: (value: string) => void; onTypeFilterChange: (value?: string) => void; onPageChange: (page: number, pageSize: number) => void; onAdd: () => void; onSortChange: (orderedRows: DeviceRow[]) => void; onRowClick: (record: DeviceRow) => void; } declare const DeviceTable: React.FC; export default DeviceTable;