import { OnDestroy, QueryList, EventEmitter, ChangeDetectorRef, AfterContentInit } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { ButtonHost, ButtonComponent } from '../button/index'; import { FormControlInput, FormControlErrorStateAgent, FormControlHost } from '../form-control-group/index'; export declare class ButtonGroupComponent implements OnDestroy, ControlValueAccessor, AfterContentInit, ButtonHost, FormControlInput { private cdRef; ngControl?: NgControl; private formControlHost?; private _errorStateAgent?; constructor(cdRef: ChangeDetectorRef, ngControl?: NgControl, formControlHost?: FormControlHost, _errorStateAgent?: FormControlErrorStateAgent); private buttonsSub?; private _generatedId; private stateChangedEmitter; stateChanged: import("rxjs").Observable; controlType: string; id?: string; value: any | any[]; valueChange: EventEmitter; _hostClasses: boolean; readonly elementId: string; buttons?: QueryList; private _disabled; disabled: boolean; selectionMode: 'multiple' | 'single'; formDisabled: boolean; errorStateAgent?: FormControlErrorStateAgent; readonly hasError: boolean; readonly isDisabled: boolean; readonly isFocused: boolean; private toggle; private syncButtons; onLabelClick(event: Event): void; notifyButtonClick(btn: ButtonComponent): void; notifyButtonBlur(btn: any): void; notifyButtonFocus(btn: any): void; private triggerChange; getError(error: string): any; ngAfterContentInit(): void; ngOnDestroy(): void; /** * things needed for ControlValueAccessor-Interface */ private onChange; private onTouched; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(disabled: boolean): void; }