import { type $ZodType } from 'zod/v4/core';
import type { Schema } from 'zod';
import type { FormErrors } from '@mantine/form';
export interface ZodResolverOptions {
    errorPriority?: 'first' | 'last';
}
export declare function zodResolver(schema: Schema, options?: ZodResolverOptions): (values: Record<string, unknown>) => FormErrors;
export declare function zod4Resolver(schema: $ZodType, options?: ZodResolverOptions): (values: Record<string, unknown>) => FormErrors;
