import '@sebgroup/green-core/components/icon/icons/triangle-exclamation.js'; import { ChangeDetectorRef, OnInit } from '@angular/core'; import { NgControl } from '@angular/forms'; import { TranslocoScope } from '@jsverse/transloco'; import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor'; import * as i0 from "@angular/core"; /** * Creates a wrapper around a group of radio buttons. * If there is an error to the form control connected to the radio buttons, it will be shown once below instead of below every individual radio button */ export declare class NggvRadioGroupComponent extends NggvBaseControlValueAccessorComponent implements OnInit { ngControl: NgControl; protected translocoScope: TranslocoScope; protected cdr: ChangeDetectorRef; /** * Special property used for selecting DOM elements during automated UI testing. */ thook: string | null | undefined; /** * Sets class on host element based on size input for styling */ size: 'small' | 'large'; /** * Syncs a FormControl in an existing FormGroup to a form control element by name. */ formControlName?: string; /** * Sets "flex-direction" of parent of radio buttons. */ direction?: 'row' | 'column'; /** * Creates a new RadioComponent * @param ngControl optional FormControl provided when component is used in a form, through dependency injection. * @param cdr change detection reference for rendering purposes. */ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef); ngOnInit(): void; /** Checks that the name properties match and updates name property if only formControlName is given. */ private _checkName; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }