///
import type { FieldErrors, FieldValues, UseFormReturn } from "react-hook-form";
import type { CreatePropsDefinition } from "./CreatePropsDefinition";
import type { ErrorsControlParameters } from "./ErrorsControlParameters";
import { Field } from "./Field";
export interface ComponentDefinition> {
render(args: {
name: string;
} & FieldProps): React.ReactNode;
}
export type CreateConfig = {
components: Record>;
errorsControl?: Array<((parameters: ErrorsControlParameters) => string | undefined | boolean | void) | ((parameters: ErrorsControlParameters) => Promise)>;
debounceTime?: number;
enableDebounce?: boolean;
enableDebounceOnSubmit?: boolean;
onErrorDuringSubmit?(errors: FieldErrors, context: {
methods: UseFormReturn;
getField(name: string): Field | undefined;
}): any;
};
//# sourceMappingURL=CreateConfig.d.ts.map