import { Cell, ColumnMeta, RowData } from '@tanstack/react-table'; import React from 'react'; import { CSS } from '../../utils/objectToCss'; interface CellProps { getValue: () => unknown; cell: Cell; row: number; column: string; css?: CSS; } export interface CellMetaProps extends ColumnMeta { editable?: boolean; template?: React.ReactNode; updateData?: (index: number, id: string, value: unknown) => void; revertData?: (rowIndex: number) => void; } export type EditableCellProps = CellProps & Omit, keyof CellProps>; export declare const EditableCellContextProvider: ({ children, value, }: { value: EditableCellContextType; children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element, useEditableCellContext: () => EditableCellContextType; export type EditableCellContextType = { finishTemplateEditing: (data: unknown) => void; cancelTemplateEditing: () => void; initialValue: unknown; cell: Cell; row: number; column: string; }; export declare const EditableCell: React.FC; export {};