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