import { FieldsetPassThrough, FieldsetBeforeToggleEvent, FieldsetAfterToggleEvent, FieldsetToggleIconTemplateContext } from 'primeng/types/fieldset'; export * from 'primeng/types/fieldset'; import * as _angular_core from '@angular/core'; import { TemplateRef, ElementRef } from '@angular/core'; import { MotionOptions, MotionEvent } from '@primeuix/motion'; import * as i2 from 'primeng/api'; import { BlockableUI } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { CSSProperties } from 'primeng/types/shared'; import { BaseStyle } from 'primeng/base'; declare class FieldsetStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-fieldset-toggleable': any; })[]; legend: string; legendLabel: string; toggleButton: string; toggleIcon: string; contentContainer: string; contentWrapper: string; content: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Fieldset is a grouping component with the optional content toggle feature. * * [Live Demo](https://www.primeng.org/fieldset/) * * @module fieldsetstyle * */ declare enum FieldsetClasses { /** * Class name of the root element */ root = "p-fieldset", /** * Class name of the legend element */ legend = "p-fieldset-legend", /** * Class name of the legend label element */ legendLabel = "p-fieldset-legend-label", /** * Class name of the toggle icon element */ toggleIcon = "p-fieldset-toggle-icon", /** * Class name of the content container element */ contentContainer = "p-fieldset-content-container", /** * Class name of the content wrapper element */ contentWrapper = "p-fieldset-content-wrapper", /** * Class name of the content element */ content = "p-fieldset-content" } /** * Fieldset is a grouping component with the optional content toggle feature. * @group Components */ declare class Fieldset extends BaseComponent implements BlockableUI { componentName: string; $pcFieldset: Fieldset | undefined; _componentStyle: FieldsetStyle; bindDirectiveInstance: Bind; /** * Header text of the fieldset. * @group Props */ legend: _angular_core.InputSignal; /** * When specified, content can toggled by clicking the legend. * @group Props * @defaultValue false */ toggleable: _angular_core.InputSignalWithTransform; /** * Defines the initial state of content, supports one or two-way binding as well. * @group Props */ collapsed: _angular_core.ModelSignal; /** * Inline style of the component. * @group Props */ style: _angular_core.InputSignal; /** * Style class of the component. * @group Props */ styleClass: _angular_core.InputSignal; /** * The motion options. * @group Props */ motionOptions: _angular_core.InputSignal; /** * Callback to invoke before panel toggle. * @param {FieldsetBeforeToggleEvent} event - Custom toggle event * @group Emits */ onBeforeToggle: _angular_core.OutputEmitterRef; /** * Callback to invoke after panel toggle. * @param {FieldsetAfterToggleEvent} event - Custom toggle event * @group Emits */ onAfterToggle: _angular_core.OutputEmitterRef; /** * Custom header template. * @group Templates */ headerTemplate: _angular_core.Signal | undefined>; /** * Custom toggler icon template. * @group Templates */ toggleIconTemplate: _angular_core.Signal | undefined>; /** * Custom expand icon template. * @group Templates */ expandIconTemplate: _angular_core.Signal | undefined>; /** * Custom collapse icon template. * @group Templates */ collapseIconTemplate: _angular_core.Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: _angular_core.Signal | undefined>; contentWrapperViewChild: _angular_core.Signal | undefined>; private _id; get id(): string; get headerId(): string; get contentId(): string; buttonAriaLabel: _angular_core.Signal; toggleIconContext: _angular_core.Signal; dataP: _angular_core.Signal; contentTabindex: _angular_core.Signal<"-1" | undefined>; isContentVisible: _angular_core.Signal; computedMotionOptions: _angular_core.Signal; onAfterViewChecked(): void; toggle(event: MouseEvent): void; onKeyDown(event: KeyboardEvent): void; expand(): void; collapse(): void; getBlockableElement(): HTMLElement; updateTabIndex(): void; onToggleDone(event: MotionEvent): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class FieldsetModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Fieldset, FieldsetClasses, FieldsetModule, FieldsetStyle };