import * as React from 'react'; import type { GridRenderEditCellParams } from "../../models/params/gridCellParams.mjs"; import type { GridSlotProps } from "../../models/gridSlotsComponent.mjs"; export interface GridEditLongTextCellProps extends GridRenderEditCellParams { debounceMs?: number; /** * Callback called when the value is changed by the user. * @param {React.ChangeEvent} event The event source of the callback. * @param {string} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`. * @returns {Promise | void} A promise to be awaited after `apiRef.current.setEditCellValue` is called */ onValueChange?: (event: React.ChangeEvent, newValue: string) => Promise | void; /** * Props passed to internal components. */ slotProps?: { /** * Props passed to the root element. */ root?: React.HTMLAttributes; /** * Props passed to the value element. */ value?: React.HTMLAttributes; /** * Props passed to the popper element. */ popper?: Partial; /** * Props passed to the popper content element. */ popperContent?: React.HTMLAttributes; /** * Props passed to the textarea element. */ textarea?: Partial; }; } declare function GridEditLongTextCell(props: GridEditLongTextCellProps): React.JSX.Element; declare namespace GridEditLongTextCell { var propTypes: any; } export { GridEditLongTextCell }; export declare const renderEditLongTextCell: (params: GridEditLongTextCellProps) => React.JSX.Element;