import { SendAnswer } from "./feedback"; export type Answer = { id: string; answer: string; }; export type Question = { id: string; question: string; answers: Array; type: "CLOSE" | "OPEN"; }; export type QuestionsProps = { questions: Array; onChangeAnswer: (questionId: string, answer: Answer) => void; handleOpenAnswer: (s: string) => void; onSend: () => void; values: Array; openAnswer: string; buttons: { next: string; previous: string; }; maxCharactersMessage?: string; openAnswerPlaceholder: string; };