import * as _angular_core from '@angular/core'; import { AfterContentInit, OnChanges } from '@angular/core'; import { BackgroundColorVariant } from '@siemens/element-ng/common'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; import { Subject } from 'rxjs'; declare class SiCollapsiblePanelComponent { /** * Heading for the collapsible panel. */ readonly heading: _angular_core.InputSignal; /** * Additional CSS classes for the top element. * * @defaultValue '' */ readonly headerCssClasses: _angular_core.InputSignal; /** * Additional CSS classes for the collapsible content region. * * @defaultValue '' */ readonly contentBgClasses: _angular_core.InputSignal; /** * Additional CSS classes for the wrapping content element. * * @defaultValue '' */ readonly contentCssClasses: _angular_core.InputSignal; /** * Expand/collapse the panel. * * @defaultValue false */ readonly opened: _angular_core.ModelSignal; /** * The icon to be displayed besides the heading. */ readonly icon: _angular_core.InputSignal; /** * Whether the si-collapsible-panel is disabled. * * @defaultValue false */ readonly disabled: _angular_core.InputSignalWithTransform; /** * Color variant for component background. * * @deprecated This input has no effect on the component styling. */ readonly colorVariant: _angular_core.InputSignal; /** * Defines the content of the optional badge. Should be a number or something like "100+". * if undefined or empty string, no badge is displayed */ readonly badge: _angular_core.InputSignal; /** * Defines the background color of the badge. Default is specific to Element flavour. */ readonly badgeColor: _angular_core.InputSignal; /** * An event emitted when the user triggered expand/collapse and emit with the new open state. * The event is emitted before the animation happens. */ readonly panelToggle: _angular_core.OutputEmitterRef; protected readonly hcollapsed: _angular_core.Signal; protected readonly fullHeight: _angular_core.Signal; protected controlId: string; protected headerId: string; protected isHCollapsible: boolean; protected readonly icons: Record<"elementDown2", string>; protected readonly disableAnimation: _angular_core.WritableSignal; private readonly accordionService; private readonly accordionHCollapseService; /** Restore the content scroll position between open/close of the panel. */ private lastScrollPos; private readonly contentRef; constructor(); /** * Expand/collapse panel. * @param open - indicate the panel shall open or close * @param enableAnimation - with animation */ openClose(open: boolean, enableAnimation?: boolean): void; protected doToggle(event?: Event): void; protected keydown(event: KeyboardEvent): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiAccordionComponent implements AfterContentInit, OnChanges { /** * Whether the first panel is expanded initially. * @defaultValue true */ readonly expandFirstPanel: _angular_core.InputSignalWithTransform; /** * Whether panels expand to fill the accordion height. * @defaultValue false */ readonly fullHeight: _angular_core.InputSignalWithTransform; /** * Whether the accordion is horizontally collapsed. * @defaultValue false */ readonly hcollapsed: _angular_core.InputSignal; /** * Indicate whether the accordion is collapsed. * @internal */ readonly collapsed: _angular_core.Signal; private readonly panels; private responsive; private destroyer; private service; private resizeObserver; private element; private accordionHCollapseService; ngOnChanges(): void; ngAfterContentInit(): void; private calcFullHeight; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** @internal */ declare class SiAccordionService { /** * Emit an item in the accordion which should be toggled. */ readonly toggle$: Subject; /** * Subject to emit when the items should be expanded to their full height or restored to normal height. * * @defaultValue null */ readonly fullHeight: _angular_core.WritableSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** @internal */ declare class SiAccordionHCollapseService { /** * Emitting the current horizontal collapsed state. * * @defaultValue undefined */ readonly hcollapsed: _angular_core.WritableSignal; /** * Subject to emit to open the accordion. */ readonly open$: Subject; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class SiAccordionModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { SiAccordionComponent, SiAccordionHCollapseService, SiAccordionModule, SiAccordionService, SiCollapsiblePanelComponent };