import type { FormErrors } from '@mantine/form'; import { ObjectSchema } from 'yup'; export declare function yupResolver(schema: ObjectSchema): (values: Record) => FormErrors;