import { ClipboardEvent, Dispatch, JSX, SetStateAction } from "react";
import { UseFormGetValues, UseFormReset, UseFormSetValue } from "react-hook-form";
import { InferType } from "yup";
import { FromItemsField } from "../type";
type Props = {
    id?: string;
    field?: string;
    displayValue: string;
    textAlign?: 'left' | 'right' | 'center';
    placeholder?: string;
    invalid?: any;
    menuHeight?: number;
    menuWidth?: number;
    rowData: any;
    indexRow: any;
    onKeyDown?: any;
    defaultValues?: any;
    schema?: InferType<any>;
    onFormOpen?: (rowData: any, itemsField: FromItemsField[], setItemsField: Dispatch<SetStateAction<FromItemsField[]>>) => void;
    onFormSubmit?: (rowData: any, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>, reset: UseFormReset<any>) => void;
    footerTemplate?: (rowData: any) => JSX.Element;
    template?: (row: any, indexRow: number) => JSX.Element | string | number | undefined;
    onChangeField?: (rowData: any, field: string, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>) => void;
    onChange: (rowData: any) => void;
    onPaste?: (e: ClipboardEvent<HTMLInputElement>) => void;
    minWidth?: number;
    openOnFocus?: boolean;
    isClearable?: boolean;
    labelSize?: 'label-small' | 'label-medium' | 'label-large';
};
declare const EditForm: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
export default EditForm;
