export type CellEditorType = 'text' | 'number' | 'date' | 'datetime' | 'time' | 'date-native' | 'datetime-native' | 'time-native' | 'password' | 'checkbox' | 'list' | 'chips' | 'select' | 'rich-select' | 'autocomplete' | 'textarea' | 'color' | 'rating' | (string & {}); /** Normalized option used by list/chips editors. The optional `color` * paints the chip - both in the in-cell readonly chips render and in * the dropdown trigger when `renderChipsInTrigger` is on. Any CSS * color works (hex, rgb, hsl, oklch, named); the chip uses a soft * tint built via `color-mix` so it sits well on both themes. */ export type CellEditorOption = { value: string | number; label: string; color?: string; }; export type ParseEditorValueOptions = { /** When true, list/chips return an array; otherwise a scalar. */ multiple?: boolean; }; /** Normalize the loose `editorOptions` ColumnDef prop into a uniform shape. * Dynamic (function) editorOptions are resolved before reaching here. */ export declare function normalizeEditorOptions(options: ReadonlyArray | undefined): CellEditorOption[]; export declare function parseEditorValue(rawType: CellEditorType, value: unknown, opts?: ParseEditorValueOptions): any;