import React from 'react';
import { Identifiable } from '@custis/common';
import { TTableColumn } from '../../../models';
import { IdType } from 'react-table';
interface Props<T extends Identifiable, TFilter, TSorting> {
    columns: TTableColumn<T, TFilter, TSorting>[];
    visible: boolean;
    data?: Partial<T>;
    width: number;
    hiddenColumns: IdType<T>[];
    onCreate?(row: T): Promise<void>;
    onFormChange?(row: Partial<T>): void;
    onHide(): void;
}
export declare const NewRow: <T extends Identifiable, TFilter, TSorting>({ columns, onCreate, visible, onHide, data, onFormChange, width, hiddenColumns, }: Props<T, TFilter, TSorting>) => React.JSX.Element;
export {};
