import * as React from 'react'; import type { GridColDef, GridRenderEditCellParams } from '@mui/x-data-grid-pro'; export interface GridFormulaEditCellProps extends GridRenderEditCellParams { /** * The edit component the column would render without formula support. */ originalRenderEditCell?: GridColDef['renderEditCell']; } /** * Edit component for `allowFormulas` columns. When the cell holds a formula, * it seeds the edit state with the stored source (the view value is the * evaluated result — committing it back would destroy the formula) and renders * a text input even on non-string columns. */ declare function GridFormulaEditCell(props: GridFormulaEditCellProps): string | number | bigint | boolean | React.JSX.Element | Iterable | Promise | React.ReactElement> | React.ReactPortal | null | undefined> | null | undefined; export { GridFormulaEditCell }; export declare const renderFormulaEditCell: (params: GridFormulaEditCellProps) => React.JSX.Element;