import { type NonEmptyArray, type GetAllObjectPaths, type Reader } from '@under-control/core'; import type { PathValidator, GlobalValidator, Validator } from '../../types'; export type FormValidators = NonEmptyArray>; export type FormValidatorUtils = { path:

>(path: P, fn: PathValidator['fn']) => PathValidator; global: (fn: GlobalValidator) => GlobalValidator; }; export type FormValidatorsList = FormValidators | Reader, FormValidators | Validator> | undefined; export declare function useFormValidatorsSelector(validatorsGetter: FormValidatorsList): FormValidators | undefined;