import * as React from 'react'; import type { GridRenderEditCellParams } from '@mui/x-data-grid-pro'; /** * Class of the floating editing surface. Also consumed by the formula feature's * `canUpdateFocus` pipe processor: the surface is row-portaled, so the grid's * DOM-containment checks do not recognize it as part of the editing cell — the * processor uses this class to keep pointer events inside it from clearing the * cell focus (which would stop the edit). */ export declare const GRID_FORMULA_EDITOR_SURFACE_CLASS = "MuiDataGrid-formulaEditorSurface"; export interface GridFormulaEditorProps extends GridRenderEditCellParams { /** * Whether references are shown in A1 notation (column letters / 1-based rows) * rather than the canonical `REF(...)` dialect. */ a1Notation: boolean; /** * Whether the autocomplete suggestion popup is enabled. When `false` * (`disableFormulaAutocomplete`/`dataSource`) the same editor still colors * references — only the popup is suppressed. */ suggestionsEnabled: boolean; } /** * Formula edit component: an in-cell anchor plus a floating surface that overlays * the cell and grows inline-end with the formula (the long-text editing pattern, * with content-driven growth). The anchor mirrors the live draft for the unfocused * cells of row edit mode; only the focused cell opens its surface. */ declare function GridFormulaEditor(props: GridFormulaEditorProps): React.JSX.Element; export { GridFormulaEditor };