import type { FieldValues, Resolver } from 'react-hook-form';
import * as t from 'typanion';
export declare function typanionResolver(schema: t.StrictValidator, schemaOptions?: Pick, resolverOptions?: {
mode?: 'async' | 'sync';
raw?: false;
}): Resolver>;
export declare function typanionResolver(schema: t.StrictValidator, schemaOptions: Pick | undefined, resolverOptions: {
mode?: 'async' | 'sync';
raw: true;
}): Resolver;