import { AfterContentInit, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core'; import { BlockableUI, PrimeTemplate } from 'primeng/api'; import { Nullable } from 'primeng/ts-helpers'; import { FieldsetAfterToggleEvent, FieldsetBeforeToggleEvent } from './fieldset.interface'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "primeng/ripple"; import * as i3 from "primeng/icons/minus"; import * as i4 from "primeng/icons/plus"; import * as i5 from "primeng/api"; /** * Fieldset is a grouping component with the optional content toggle feature. * @group Components */ export declare class Fieldset implements AfterContentInit, BlockableUI { private el; /** * Header text of the fieldset. * @group Props */ legend: string | undefined; /** * When specified, content can toggled by clicking the legend. * @group Props * @defaultValue false */ toggleable: boolean | undefined; /** * Defines the default visibility state of the content. * * @group Props */ collapsed: boolean | undefined; /** * Inline style of the component. * @group Props */ style: { [klass: string]: any; } | null | undefined; /** * Style class of the component. * @group Props */ styleClass: string | undefined; /** * Transition options of the panel animation. * @group Props */ transitionOptions: string; /** * Emits when the collapsed state changes. * @param {boolean} value - New value. * @group Emits */ collapsedChange: EventEmitter; /** * Callback to invoke before panel toggle. * @param {PanelBeforeToggleEvent} event - Custom toggle event * @group Emits */ onBeforeToggle: EventEmitter; /** * Callback to invoke after panel toggle. * @param {PanelAfterToggleEvent} event - Custom toggle event * @group Emits */ onAfterToggle: EventEmitter; templates: QueryList; get id(): string; get buttonAriaLabel(): string; animating: Nullable; headerTemplate: Nullable>; contentTemplate: Nullable>; collapseIconTemplate: Nullable>; expandIconTemplate: Nullable>; constructor(el: ElementRef); ngAfterContentInit(): void; toggle(event: MouseEvent): boolean; onKeyDown(event: any): void; expand(): void; collapse(): void; getBlockableElement(): HTMLElement; onToggleDone(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_toggleable: unknown; static ngAcceptInputType_collapsed: unknown; } export declare class FieldsetModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }