import { Static, StaticDecode, TObject } from '@sinclair/typebox'; import { TypeCheck } from '@sinclair/typebox/compiler'; import { Resolver } from 'react-hook-form'; /** * Creates a resolver for react-hook-form using Typebox schema validation * @param {Schema | TypeCheck} schema - The Typebox schema to validate against * @param {Object} options - Additional resolver configuration * @param {string} [options.mode='async'] - Validation mode * @returns {Resolver>} A resolver function compatible with react-hook-form * @example * const schema = Type.Object({ * name: Type.String(), * age: Type.Number() * }); * * useForm({ * resolver: typeboxResolver(schema) * }); */ export declare function typeboxResolver(schema: Schema | TypeCheck): Resolver, Context, StaticDecode>;