import { UniqueSelectionDispatcher } from '@angular/cdk/collections'; import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core'; import { KbqAccordionContentDirective } from './accordion-content.directive'; import { KbqAccordionTrigger } from './accordion-trigger.component'; import { KbqAccordionTriggerDirective } from './accordion-trigger.directive'; import { KbqAccordion, KbqAccordionOrientation } from './accordion.component'; import * as i0 from "@angular/core"; /** @deprecated Use KbqAccordionItemState instead. */ export type RdxAccordionItemState = 'open' | 'closed'; export type KbqAccordionItemState = 'open' | 'closed'; export declare class KbqAccordionItem implements OnDestroy { /** @docs-private */ protected readonly accordion: KbqAccordion; /** @docs-private */ protected readonly changeDetectorRef: ChangeDetectorRef; /** @docs-private */ protected readonly expansionDispatcher: UniqueSelectionDispatcher; /** @docs-private */ trigger: KbqAccordionTriggerDirective; /** @docs-private */ triggerComponent: KbqAccordionTrigger; /** @docs-private */ content: KbqAccordionContentDirective; /** The unique AccordionItem id. */ get id(): string; private _id; get dataState(): KbqAccordionItemState; get orientation(): KbqAccordionOrientation; /** Whether the AccordionItem is expanded. */ get expanded(): boolean; set expanded(expanded: boolean); private _expanded; set value(value: string); get value(): string; private _value?; /** Whether the AccordionItem is disabled. */ get disabled(): boolean; set disabled(value: boolean); private _disabled; /** Event emitted every time the AccordionItem is closed. */ readonly closed: EventEmitter; /** Event emitted every time the AccordionItem is opened. */ readonly opened: EventEmitter; /** * Event emitted when the AccordionItem is destroyed. * @docs-private */ readonly destroyed: EventEmitter; /** * Emits whenever the expanded state of the accordion changes. * Primarily used to facilitate two-way binding. * @docs-private */ readonly expandedChange: EventEmitter; /** Unregister function for expansionDispatcher. */ private removeUniqueSelectionListener; /** Subscription to openAll/closeAll events. */ private openCloseAllSubscription; constructor(); /** Emits an event for the accordion item being destroyed. */ ngOnDestroy(): void; focus(): void; /** Toggles the expanded state of the accordion item. */ toggle(): void; /** Sets the expanded state of the accordion item to false. */ close(): void; /** Sets the expanded state of the accordion item to true. */ open(): void; getState(): any; disableAnimation(): void; enableAnimation(): void; private subscribeToOpenCloseAllActions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_expanded: unknown; static ngAcceptInputType_disabled: unknown; }