import React from 'react'; import { ItemComponent, ResponseItem } from 'survey-engine/data_types'; import { CommonResponseComponentProps } from '../utils'; interface ResponseComponentProps { itemKey: string; compDef: ItemComponent; prefill?: ResponseItem; responseChanged: (response: ResponseItem | undefined) => void; languageCode: string; isRequired: boolean; showOptionKey?: boolean; customResponseComponents?: Array; dateLocales: Array<{ code: string; locale: any; format: string; }>; } export interface CustomSurveyResponseComponent { name: string; component: React.FunctionComponent; } declare const ResponseComponent: React.FC; export default ResponseComponent;