import { Dispatch, FormEventHandler, SetStateAction } from 'react'; import { FeedbackOption, FeedbackType } from '../types.js'; 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 {};