import { FieldValues, Resolver } from 'react-hook-form';
import { BaseSchema, BaseSchemaAsync, Config, InferIssue } from 'valibot';
export declare function valibotResolver(schema: BaseSchema | BaseSchemaAsync, schemaOptions?: Partial>, 'abortPipeEarly' | 'skipPipe'>>, resolverOptions?: {
mode?: 'async' | 'sync';
raw?: false;
}): Resolver;
export declare function valibotResolver(schema: BaseSchema | BaseSchemaAsync, schemaOptions: Partial>, 'abortPipeEarly' | 'skipPipe'>> | undefined, resolverOptions: {
mode?: 'async' | 'sync';
raw: true;
}): Resolver;