import { AfterViewInit, DoCheck, ElementRef, QueryList, OnChanges, SimpleChanges } from '@angular/core';
import { PoRadioComponent } from '../po-radio/po-radio.component';
import { PoRadioGroupBaseComponent } from './po-radio-group-base.component';
import { PoHelperComponent } from '../../po-helper';
/**
* @docsExtends PoRadioGroupBaseComponent
*
* @example
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
export declare class PoRadioGroupComponent extends PoRadioGroupBaseComponent implements AfterViewInit, DoCheck, OnChanges {
private readonly el;
/** Label do campo. */
label?: string;
/** Texto de apoio do campo. */
help?: string;
inputEl: ElementRef;
radioLabels: QueryList;
helperEl?: PoHelperComponent;
differ: any;
constructor();
ngAfterViewInit(): void;
ngDoCheck(): void;
ngOnChanges(changes: SimpleChanges): void;
emitAdditionalHelp(): void;
eventClick(value: any, disabled: any): void;
/**
* Função que atribui foco ao componente.
*
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
*
* ```
* import { PoRadioGroupComponent } from '@po-ui/ng-components';
*
* ...
*
* @ViewChild(PoRadioGroupComponent, { static: true }) radio: PoRadioGroupComponent;
*
* focusRadio() {
* this.radio.focus();
* }
* ```
*/
focus(): void;
getAdditionalHelpTooltip(): string;
getElementByValue(value: any): any;
getErrorPattern(): string;
hasInvalidClass(): any;
onBlur(radio: PoRadioComponent): void;
onKeyDown(event: KeyboardEvent, radio?: PoRadioComponent): void;
onKeyUp(event: KeyboardEvent, value: any): void;
/**
*
* Método que exibe `p-helper` ou executa a ação definida em `p-helper{eventOnClick}` ou em `p-additionalHelp`.
* Para isso, será necessário configurar uma tecla de atalho utilizando o evento `p-keydown`.
*
* > Exibe ou oculta o conteúdo do componente `po-helper` quando o componente estiver com foco.
*
* ```
* // Exemplo com p-label e p-helper
*
* ```
* ```
* ...
* onKeyDown(event: KeyboardEvent, inp: PoRadioGroupComponent): void {
* if (event.code === 'F9') {
* inp.showAdditionalHelp();
* }
* }
* ```
*/
showAdditionalHelp(): boolean;
setHelper(label?: string, additionalHelpTooltip?: string): {
hideAdditionalHelp: boolean;
helperSettings?: any;
};
private isAdditionalHelpEventTriggered;
private isArrowKey;
private isRadioOptionFocused;
}