import React from 'react'; import { Survey, SurveySingleItemResponse, SurveyContext } from 'survey-engine/data_types'; import { SurveyEngineCore } from 'survey-engine/engine'; import { CustomSurveyResponseComponent } from '../SurveySingleItemView/ResponseComponent/ResponseComponent'; interface SurveyViewProps { loading?: boolean; survey: Survey; languageCode: string; onSubmit: (responses: SurveySingleItemResponse[], version: string) => void; onResponsesChanged?: (responses: SurveySingleItemResponse[], version: string, surveyEngine?: SurveyEngineCore) => void; prefills?: SurveySingleItemResponse[]; context?: SurveyContext; backBtnText: string; nextBtnText: string; submitBtnText: string; invalidResponseText: string; hideBackButton?: boolean; showKeys?: boolean; customResponseComponents?: Array; dateLocales?: Array<{ code: string; locale: any; format: string; }>; showEngineDebugMsg?: boolean; } declare const SurveyView: React.FC; export default SurveyView;