import { FormState, FormStateUploadSchemaAction, FormValues, Schema, SchemaFieldsTemplate } from '../types'; import { DeepPartial } from 'react-hook-form'; export type UseFormStateProps = { schema: Schema; defaultValues?: DeepPartial>; }; export type UseFormStateReturn = { resetFormState: () => void; uploadSchema: (payload: FormStateUploadSchemaAction['payload']) => void; state: FormState; }; export declare const useFormState: ({ schema, defaultValues }: UseFormStateProps) => UseFormStateReturn;