import { ClipboardEvent, KeyboardEvent } from 'react'; import { EditableGridColumn } from './EditableGrid'; export interface EditableGridCellProps { column: EditableGridColumn; value: string; /** Per-cell validation message (from `cellErrors[rowId][column.key]`). */ error?: string; disabled?: boolean; onChange: (value: string) => void; refCb: (el: HTMLInputElement | HTMLSelectElement | null) => void; onKeyDown: (e: KeyboardEvent) => void; onPaste: (e: ClipboardEvent) => void; } /** * EditableGridCell — one type-aware editable cell. * * Values are ALWAYS raw strings (backend owns parsing — legacy `strToNumber` * parity + MDM G1 `cells: Record`); no client-side coercion. * `column.normalize` (e.g. TR "1,5"→"1.5") is applied on blur (commit), not on * every keystroke, so it never fights the user mid-type. * * Accessibility: every cell carries an accessible name (`column.ariaLabel`, else * a string `column.label`, else `column.key`) so screen readers announce the * field; a per-cell `error` sets `aria-invalid`, tints the border, and is linked * via `aria-describedby` to a visually-hidden message. */ export declare function EditableGridCell({ column, value, error, disabled, onChange, refCb, onKeyDown, onPaste, }: EditableGridCellProps): import("react").JSX.Element; //# sourceMappingURL=EditableGridCell.d.ts.map