import * as Yup from "yup"; import { ObjectShape } from "yup/lib/object"; import { TFrontendEngineValues, TWarningPayload } from "../../components/frontend-engine/types"; /** * Hook that handles the generation of the validationSchema */ export declare const useValidationSchema: () => { warnings: TWarningPayload; softValidationSchema: Yup.ObjectSchema, import("yup/lib/object").AssertsShape>; hardValidationSchema: Yup.ObjectSchema, import("yup/lib/object").AssertsShape>; rebuildValidationSchema: () => void; performSoftValidation: (schema: Yup.ObjectSchema, data: TFrontendEngineValues) => void; addWarnings: (warningPayload: TWarningPayload) => void; yupId: string; };