import { BoxProps } from '@mui/material'; import { GridRenderCellParams } from '@mui/x-data-grid-premium'; export interface InkDataGridTextWrapCellProps { /** * Word break behavior for long text * @default 'break-word' */ wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word'; /** * Text alignment within the cell * @default 'left' */ textAlign?: 'left' | 'center' | 'right' | 'justify'; /** * Custom styling for the cell content */ sx?: BoxProps['sx']; } /** * A DataGrid cell component that handles long strings with text wrapping functionality. * * Features: * - Wraps text within cell boundaries * - Adjusts row height dynamically based on content (requires getRowHeight={() => 'auto'} on DataGrid) * - Maintains consistent vertical alignment with other cells * - Configurable text alignment and word breaking * * @example * ```tsx * const columns: GridColDef[] = [ * { * field: 'description', * headerName: 'Description', * width: 300, * renderCell: (params) => , * }, * ]; * * 'auto'} * /> * ``` */ export declare function InkDataGridTextWrapCell({ value, wordBreak, textAlign, sx, }: GridRenderCellParams & InkDataGridTextWrapCellProps): import("react/jsx-runtime").JSX.Element;