import { SetStateAction, Dispatch, FormEventHandler } from "react"; import { FeedbackType, FeedbackOption } from "../types"; type Value = FeedbackOption | FeedbackOption[] | undefined; type MainQuestion = { currentValue: Value; setCurrentValue: Dispatch>; message: string | undefined; setMessage: Dispatch>; submitted: boolean; handleSubmit: FormEventHandler; }; export declare const useMainQuestion: (onSubmit: (f: FeedbackType) => void) => MainQuestion; export {};