import { type FormField, type FormSchema } from '../../../types'; type FormState = { formFields: FormField[]; invalidFields: FormField[]; formJson: FormSchema; deletedFields: FormField[]; }; type Action = { type: 'SET_FORM_FIELDS'; value: FormField[]; } | { type: 'ADD_FORM_FIELD'; value: FormField; } | { type: 'UPDATE_FORM_FIELD'; value: FormField; } | { type: 'REMOVE_FORM_FIELD'; value: string; } | { type: 'SET_INVALID_FIELDS'; value: FormField[]; } | { type: 'ADD_INVALID_FIELD'; value: FormField; } | { type: 'REMOVE_INVALID_FIELD'; value: string; } | { type: 'CLEAR_INVALID_FIELDS'; } | { type: 'SET_FORM_JSON'; value: any; } | { type: 'SET_DELETED_FIELDS'; value: FormField[]; }; declare const initialState: FormState; declare const formStateReducer: (state: FormState, action: Action) => FormState; export { formStateReducer, initialState, FormState, Action }; //# sourceMappingURL=state.d.ts.map