import { QuestionAnswers, QuestionJson, QuestionResult } from './schema'; import { QuestionInteraction, QuestionPlatform } from './types'; export interface QuestionListProps { platform: QuestionPlatform; questions: QuestionJson[]; interaction?: QuestionInteraction; className?: string; value?: QuestionAnswers; onChange?: (answers: QuestionAnswers) => void; submitted?: boolean; onSubmittedChange?: (submitted: boolean) => void; showSubmitButton?: boolean; submitLabel?: string; onSubmit?: (payload: { answers: QuestionAnswers; results: QuestionResult[]; }) => void; defaultValue?: QuestionAnswers; } export declare const QuestionList: ({ platform, questions, interaction, className, value: controlledAnswers, onChange, submitted: controlledSubmitted, onSubmittedChange, showSubmitButton, submitLabel, onSubmit, defaultValue, }: QuestionListProps) => import("react").JSX.Element;