import { EventEmitter, JSX } from '../../stencil-public-runtime'; import { AnswerMap, LayoutSection, QuestionnaireEventDetail } from './air-questionnaire.types'; import { Question } from '../air-question/air-question.types'; import { BusinessClass } from '../air-business-class/air-business-class.types'; import { WorkersCompensationClass } from '../air-workers-compensation-class/air-workers-compensation-class.types'; export declare class AirQuestionnaire { /** Questions */ questions: Question[]; /** Sections */ sections: LayoutSection[]; /** Answers (optional) */ answers: AnswerMap; watchAnswers(answers: AnswerMap): void; /** BusinessClasses (required if your application has "ClassOfBusiness" question) */ businessClasses: BusinessClass[]; /** Workers Compensation dictionary with states slug as keys (required if your application has "WcClassCode" question) */ workersCompensationClassesByState: Record; /** Display or not questions that already had answers during initialization */ skipPrefilledQuestions: boolean; openedInfoBoxId: string | null; questionGroupCounters: Record; /** Triggers when an answer has changed or validation is triggered */ update: EventEmitter; isMobile: boolean; /** Validate visible questions */ validate(): Promise; private visibleQuestions; private prefilledQuestions; private validateAllVisibleQuestions; componentWillLoad(): void; disconnectedCallback(): void; private handleResize; private getVisibleQuestions; private resetVisibleQuestionsAndAnswers; private getAnswersForVisibleQuestions; private getSectionClasses; private renderSectionTitle; private renderSectionDescription; private renderQuestionGroup; private renderQuestion; private getQuestionById; private renderInfoBox; private handleInfo; private handleInfoClose; private handleFocus; private handleQuestionGroupChange; private handleAnswer; private isQuestionnaireValid; private renderSections; render(): JSX.Element; }