import type { GenericComponent } from '../../types/form';
import type { SupportedValidators, ValidationField } from '../../types/configs/development';
type SetupValidatorFunc = (layout: GenericComponent<any>, skipValidation: boolean | SupportedValidators[], form: Record<string, any>) => ValidationField[] | null;
/**
 * The function takes a field configuration and produces validation rules for it.
 * To do so, it takes the validation type setting and maps it to the configured validators.
 *
 * This `rules`, therefore, is used inside
 * the [Element-UI's form component](https://element-plus.org/en-US/component/form.html#validation)
 * along with the [`async-validator`](https://github.com/yiminghe/async-validator)
 */
declare const setupValidators: SetupValidatorFunc;
export default setupValidators;
