import type { ClientValidationAdapter } from './adapters.js'; import type { MaybePromise } from '../utils.js'; export type Validators> = { [P in keyof T]?: T extends any ? T[P] extends Record ? Validators : NonNullable extends (infer A)[] ? A extends Record ? Validators : Validator : Validator : never; }; export type Validator = (value?: V) => MaybePromise; /** * @deprecated This adapter requires you to do error-prone type checking yourself. If possible, use one of the supported validation libraries instead. */ export declare const superformClient: , T2 extends Partial = Partial>(schema: Validators) => ClientValidationAdapter;