import { default as React } from 'react'; import { Row } from '@tanstack/react-table'; import { InputRule } from './validationService'; import { IconColorList } from '../../../Icons/Icon.models'; export type Column = { id: string; columnDef: { header?: { heading?: string; }; meta?: { editable?: boolean; disableTrimText?: boolean; sidebarContent?: unknown; }; accessorKey: string; }; }; export type SpreadsheetCellProps = { getValue: () => string; table: { options: { meta?: { inputRules: { [key: string]: InputRule; }; isReviewMode: boolean; updateData: (rowIndex: number, columnId: string, value: string | number | boolean | Date) => void; }; }; }; row: Row & { original: { editable: boolean; disableTrimText?: boolean; sidebarContent?: unknown; isOptional?: boolean; color?: IconColorList; }; }; column: Column; /** Optional children can be passed in for custom JSX content */ children?: React.ReactNode; }; declare const SpreadsheetCell: ({ table, row, column, children, }: SpreadsheetCellProps) => import("react/jsx-runtime").JSX.Element; export default SpreadsheetCell;