import { AfterViewInit, OnInit } from '@angular/core'; import { QuestionComponent } from '../question.component'; import { QuestionBase } from '../../domain/question.base'; import { FormGroup } from '@angular/forms'; import { ScrollService } from '../scroll.service'; export declare class ButtonGroupQuestionComponent extends QuestionComponent implements OnInit, AfterViewInit { private scrollService; form: FormGroup; question: QuestionBase; input: any; type: string; valueWhenDisabled: any; constructor(scrollService: ScrollService); /** * Initialise the default form values. */ ngOnInit(): void; ngAfterViewInit(): void; readonly optionsPopulated: boolean; readonly isInvalid: boolean; readonly show: boolean; readonly alert: any; readonly formValue: any; /** * Enable or disable any fields that need updating based on the value selected. * We temporarily store any values when disabling. * We restore any previously set values when enabling. * If no previously set value, then mark field as untouched to avoid form error on changes. * @param value */ updateDependantFields(value: any): void; getButtonClass(opt: any): "btn-primary" | "btn-default"; }