import type { Obj, ValidationFunction, Extender } from '@felte/common'; import type { AnyZodObject } from 'zod'; type ZodSchema = { parseAsync: AnyZodObject['parseAsync']; }; export type ValidatorConfig = { schema: ZodSchema; level?: 'error' | 'warning'; }; export declare function validateSchema(schema: ZodSchema): ValidationFunction; export declare function validator({ schema, level, }: ValidatorConfig): Extender; export {}; //# sourceMappingURL=index.d.ts.map