import React from 'react'; import { AlgorithmTableProps } from './components/algorithmTable/AlgorithmTable'; import { TimeTemplateTableProps } from './components/timeTemplateTable/TimeTemplateTable'; export interface AlgorithmConfigProps { onAddAlgorithm?: () => void; /** * 单选的图片数据 */ drawData?: { imageKey: string; odRect?: { x: number; y: number; w: number; h: number; }; score?: string; time?: string; }; /** * 单选状态圈选后的监听事件 */ drawListener?: (data: any) => void; algorithmTableDataSource?: { id: string; templateName: string; operatingCycle: string; algorithmOccupied: number; }[]; timeTemplateDataSource?: { id: string; templateName: string; operatingCycle: string; arrangeWeek: string; algorithmOccupied: string; }[]; boxList: { id: string; name: string; }[]; algorithmTableProps?: AlgorithmTableProps; timeTemplateTableProps?: TimeTemplateTableProps; selectedKey?: string; rowKey?: string; type: AlgorithmTableProps['tableType']; onSelect?: (key: string, info?: any) => void; } export interface AlgorithmConfigRef { draw: () => void; cancelDraw: () => void; } declare const AlgorithmConfig: React.ForwardRefExoticComponent>; export default AlgorithmConfig;