import type { FieldValues, ResolverOptions, ResolverResult } from 'react-hook-form'; import { ValidationState, AnyStrictValidator } from 'typanion'; declare type ValidateOptions = Pick; declare type RHFResolver = (values: TFieldValues, context: TContext | undefined, options: ResolverOptions) => ResolverResult; export declare type Resolver = (validator: UnknownValidator, validatorOptions?: ValidateOptions, resolverOptions?: { mode?: 'async' | 'sync'; rawValues?: boolean; }) => RHFResolver; export {};