import { FormSectionPropsItem } from '../../utils'; import * as Yup from 'yup'; export interface InitialValues { [key: string]: string | number | null | boolean; } export interface ValidationShape { [key: string]: Yup.Schema; } declare const useFormValidatingContext: (formArray: FormSectionPropsItem[]) => { validationSchema: any; initialValues: InitialValues; }; export default useFormValidatingContext;