import { FieldsetAfterToggleEvent, FieldsetBeforeToggleEvent, FieldsetPassThrough, FieldsetToggleIconTemplateContext } from "primeng/types/fieldset"; import * as i0 from "@angular/core"; import { ElementRef, TemplateRef } from "@angular/core"; import { MotionEvent, MotionOptions } 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"; export * from "primeng/types/fieldset"; export 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: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Fieldset is a grouping component with the optional content toggle feature. * * [Live Demo](https://www.primeng.org/fieldset/) * * @module fieldsetstyle * */ export 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 */ export declare class Fieldset extends BaseComponent implements BlockableUI { componentName: string; $pcFieldset: Fieldset | undefined; _componentStyle: FieldsetStyle; bindDirectiveInstance: Bind; /** * Header text of the fieldset. * @group Props */ legend: import("@angular/core").InputSignal; /** * When specified, content can toggled by clicking the legend. * @group Props * @defaultValue false */ toggleable: import("@angular/core").InputSignalWithTransform; /** * Defines the initial state of content, supports one or two-way binding as well. * @group Props */ collapsed: import("@angular/core").ModelSignal; /** * Inline style of the component. * @group Props */ style: import("@angular/core").InputSignal; /** * Style class of the component. * @group Props */ styleClass: import("@angular/core").InputSignal; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; /** * Callback to invoke before panel toggle. * @param {FieldsetBeforeToggleEvent} event - Custom toggle event * @group Emits */ onBeforeToggle: import("@angular/core").OutputEmitterRef; /** * Callback to invoke after panel toggle. * @param {FieldsetAfterToggleEvent} event - Custom toggle event * @group Emits */ onAfterToggle: import("@angular/core").OutputEmitterRef; /** * Custom header template. * @group Templates */ headerTemplate: import("@angular/core").Signal | undefined>; /** * Custom toggler icon template. * @group Templates */ toggleIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom expand icon template. * @group Templates */ expandIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom collapse icon template. * @group Templates */ collapseIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: import("@angular/core").Signal | undefined>; contentWrapperViewChild: import("@angular/core").Signal | undefined>; private _id; get id(): string; get headerId(): string; get contentId(): string; buttonAriaLabel: import("@angular/core").Signal; toggleIconContext: import("@angular/core").Signal; dataP: import("@angular/core").Signal; contentTabindex: import("@angular/core").Signal<"-1" | undefined>; isContentVisible: import("@angular/core").Signal; computedMotionOptions: import("@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: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class FieldsetModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }