import { Identifiable } from '@custis/common';
import { TTableColumn } from '../../../models';
import React from 'react';
import { FormInstance } from 'antd';
import { RowValidationPopoverData } from './models';
export declare const getInputRulesFromColumnItem: <T extends Identifiable, TFilter, TSorting>(item: TTableColumn<T, TFilter, TSorting, any>) => import("antd").FormRule[];
export declare const useSubmitValidate: <T extends Identifiable, TFilter, TSorting>({ setPopoverData, columns, visible, form, handleSave, setAllFieldsTouched, }: {
    setPopoverData: React.Dispatch<React.SetStateAction<RowValidationPopoverData>>;
    columns: TTableColumn<T, TFilter, TSorting, any>[];
    visible?: boolean | undefined;
    form: FormInstance<T>;
    handleSave: (row: T) => void;
    setAllFieldsTouched?: (() => void) | undefined;
}) => {
    onSubmit: () => void;
};
