export type InputsType = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;

export type FillStateArgsType = {
  theForm: HTMLFormElement;
  initialState: Record<string, any>;
  update: (state: any | ((prevState: any) => any)) => void;
  setFilledState: (filled: boolean) => void;
  stateRef: { current: Record<string, any> };
};

export type FillFormArgs = {
  theForm: HTMLFormElement;
  state: Record<string, any>;
  path?: string[];
};
