import * as React from 'react'; export interface FormulaBarProps extends React.HTMLAttributes {} /** * An Excel-like formula bar for the Data Grid Premium formulas feature. It is a * permanently-open formula editor for the focused cell: * * - With the cell in view mode it edits a local draft — references are colored, * the referenced cells are outlined in the grid, and the draft's would-be * result is evaluated on the fly — and nothing is committed while typing * (Enter, Tab, leaving the bar, or focusing another cell commits the draft; * Escape discards it). * - With the cell in edit mode it is a live two-way mirror of the edit session, * and interacting with the bar does not close the cell's editor. * * It renders on the default toolbar with `slotProps.toolbar.formulaBar`, can be * composed into a custom ``, and — because it only needs the grid's * React context — can be portaled anywhere in the page with `createPortal`. * * It renders nothing when formulas are disabled (`disableFormulas`, a data * source, or active pivoting). * * Demos: * * - [Formula Bar](https://mui.com/x/react-data-grid/components/formula-bar/) * * API: * * - [FormulaBar API](https://mui.com/x/api/data-grid/formula-bar/) */ declare const FormulaBar: React.ForwardRefExoticComponent | React.ForwardRefExoticComponent>; export { FormulaBar };