import { AfterViewChecked, AfterViewInit, OnChanges, QueryList, SimpleChanges } from '@angular/core';
import { PoCheckboxComponent } from '../po-checkbox/po-checkbox.component';
import { PoCheckboxGroupOption } from './interfaces/po-checkbox-group-option.interface';
import { PoCheckboxGroupBaseComponent } from './po-checkbox-group-base.component';
import { PoHelperComponent } from '../../po-helper';
/**
* @docsExtends PoCheckboxGroupBaseComponent
*
* @example
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
export declare class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent implements AfterViewChecked, AfterViewInit, OnChanges {
private readonly changeDetector;
checkboxLabels: QueryList;
helperEl?: PoHelperComponent;
private readonly el;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewChecked(): void;
ngAfterViewInit(): void;
onBlur(checkbox: PoCheckboxComponent): void;
emitAdditionalHelp(): 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 { PoCheckboxGroupComponent } from '@po-ui/ng-components';
*
* ...
*
* @ViewChild(PoCheckboxGroupComponent, { static: true }) checkbox: PoCheckboxGroupComponent;
*
* focusCheckbox() {
* this.checkbox.focus();
* }
* ```
*/
focus(): void;
getAdditionalHelpTooltip(): string;
getErrorPattern(): string;
hasInvalidClass(): any;
onKeyDown(event: KeyboardEvent, option: PoCheckboxGroupOption, checkbox?: PoCheckboxComponent): 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: PoCheckboxGroupComponent): void {
* if (event.code === 'F9') {
* inp.showAdditionalHelp();
* }
* }
* ```
*/
showAdditionalHelp(): boolean;
trackByFn(index: any): any;
setHelper(label?: string, additionalHelpTooltip?: string): {
hideAdditionalHelp: boolean;
helperSettings?: any;
};
private isAdditionalHelpEventTriggered;
private isCheckboxOptionFocused;
}