import React from 'react'; import type { CSSProperties } from 'react'; import type { ColumnSpec, Data, Errors, PartialData } from './types'; import type { Truncate } from '../table/styles'; import { RowMode } from './types'; export declare const withCellStyle: (style?: CSSProperties, padding?: CSSProperties["padding"], truncate?: Truncate) => React.CSSProperties | undefined; type NewRowProps = { data: PartialData; errors?: Errors; columns: ColumnSpec[]; cellPadding?: CSSProperties['padding']; onUpdate?(partial: Partial): void; }; type StatefulRowProps = { data: D; mode: RowMode; errors?: Errors; columns: ColumnSpec[]; isHidden?: boolean; cellPadding?: CSSProperties['padding']; onUpdate?(partial: Partial): void; }; export declare const StatefulRow: ({ data, mode, errors, columns, onUpdate, isHidden, cellPadding }: StatefulRowProps) => React.JSX.Element; export declare const NewRow: ({ data, columns, errors, onUpdate, cellPadding }: NewRowProps) => React.JSX.Element; export {};