import * as React from 'react'; import type { TableDensity } from './types.js'; export type TableEditorKind = 'text' | 'number' | 'select'; export type TableEditValue = string | number | null; export type TableEditCommitVia = 'enter' | 'tab' | 'select' | 'blur'; export interface TableCellEditorProps { kind: TableEditorKind; /** The cell's current value (cell.getValue()). */ initialValue: unknown; options?: readonly { value: string; label: string; }[] | undefined; /** Accessible name of the control (the column's headerLabel). */ label: string; size: TableDensity; onCommit: (value: TableEditValue, via: TableEditCommitVia) => void; onCancel: () => void; } export default function TableCellEditor({ kind, initialValue, options, label, size, onCommit, onCancel }: TableCellEditorProps): React.JSX.Element; //# sourceMappingURL=TableCellEditor.d.ts.map