declare class Question extends React.Component<any, any, any> {
    static _getAnswerClass(question: any, isTextarea: any): string;
    static _getQuestionCategoryClass(question: any): string;
    static getEmphasizedClass(question: any): "" | "bg-warning";
    static getEmphasizedOnRelevantClass(question: any): "" | "emphasise-on-relevant";
    constructor(props: any);
    state: {
        validator: {};
        expanded: boolean;
        showIcon: boolean;
        hintRevealed: boolean;
    };
    componentDidMount(): void;
    componentDidUpdate(): null | undefined;
    handleHintReveal: (state: any) => void;
    handleAnswerChange: (answerIndex: any, change: any) => void;
    handleSubQuestionChange: (subQuestionIndex: any, change: any) => void;
    handleCommentChange: (commentIndex: any, change: any) => void;
    _handleChange(att: any, valueIndex: any, newValue: any): void;
    isDebugged(question: any): boolean;
    _toggleCollapse: () => void;
    _onEnterHandler: () => void;
    _onLeaveHandler: () => void;
    _getHeaderClassName: () => string[];
    render(): import("react/jsx-runtime").JSX.Element | null;
    renderQuestion(question: any): import("react/jsx-runtime").JSX.Element;
    _renderQuestionContent(): (import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[] | (React.CElement<{
        key: string;
        question: any;
        onChange: (subQuestionIndex: any, change: any) => void;
        index: number;
        intl: any;
    }, React.Component<{
        key: string;
        question: any;
        onChange: (subQuestionIndex: any, change: any) => void;
        index: number;
        intl: any;
    }, any, any>> | null)[])[];
    renderQuestionIcons(): import("react/jsx-runtime").JSX.Element;
    renderAnswerableSection(): import("react/jsx-runtime").JSX.Element;
    getShowIrrelevantClassname(question: any): "" | "show-irrelevant";
    renderAnswers(): import("react/jsx-runtime").JSX.Element[];
    _getAnswers(): any;
    _getAnswerWidthStyle(): {
        flexGrow?: undefined;
        maxWidth?: undefined;
        width?: undefined;
    } | {
        flexGrow: number;
        maxWidth: string;
        width: string;
    };
    _renderCollapseToggle(): import("react/jsx-runtime").JSX.Element;
    _renderPrefixes(): import("react/jsx-runtime").JSX.Element | null;
    _renderUnits(): import("react/jsx-runtime").JSX.Element | null;
    renderSubQuestions(classname: any): (React.CElement<{
        key: string;
        question: any;
        onChange: (subQuestionIndex: any, change: any) => void;
        index: number;
        intl: any;
    }, React.Component<{
        key: string;
        question: any;
        onChange: (subQuestionIndex: any, change: any) => void;
        index: number;
        intl: any;
    }, any, any>> | null)[];
    _getSubQuestions(): any;
    _getFirstAnswerValue(): any;
}
declare namespace Question {
    export { ConfigurationContext as contextType };
    export namespace propTypes {
        let question: PropTypes.Validator<object>;
        let onChange: PropTypes.Validator<(...args: any[]) => any>;
        let index: PropTypes.Requireable<number>;
        let withoutCard: PropTypes.Requireable<boolean>;
        let collapsible: PropTypes.Requireable<boolean>;
    }
    export namespace defaultProps {
        let withoutCard_1: boolean;
        export { withoutCard_1 as withoutCard };
        let collapsible_1: boolean;
        export { collapsible_1 as collapsible };
    }
}
export default Question;
import React from "react";
import { ConfigurationContext } from "../contexts/ConfigurationContext";
import PropTypes from "prop-types";
