import { FocusMonitor } from '@angular/cdk/a11y'; import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DestroyRef, ElementRef, InjectionToken, OnDestroy, QueryList } from '@angular/core'; import { FocusKeyManager } from '@koobiq/cdk/a11y'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { KbqNavbarFocusableItemEvent, KbqNavbarIcFocusableItem, KbqNavbarIcItem } from './navbar-ic-item'; import * as i0 from "@angular/core"; export declare enum KbqExpandEvents { toggle = 0, hoverOrFocus = 1 } /** minimum timeout to use KBQ_ENTER_DELAY */ export declare const KBQ_MIN_TIMEOUT_FOR_ENTER_DELAY = 2000; /** delay before open navbar-ic */ export declare const KBQ_ENTER_DELAY = 400; /** default configuration of navbar-ic */ /** @docs-private */ export declare const KBQ_NAVBAR_IC_DEFAULT_CONFIGURATION: { toggle: { pinButton: string; collapseButton: string; }; }; /** Injection Token for providing configuration of navbar-ic */ /** @docs-private */ export declare const KBQ_NAVBAR_IC_CONFIGURATION: InjectionToken; export declare class KbqFocusable implements AfterContentInit, AfterViewInit, OnDestroy { protected readonly changeDetectorRef: ChangeDetectorRef; protected readonly elementRef: ElementRef; protected readonly destroyRef: DestroyRef; protected readonly focusMonitor: FocusMonitor; focusableItems: QueryList; keyManager: FocusKeyManager; get tabindex(): number; set tabindex(value: number); private _tabindex; get itemFocusChanges(): Observable; get itemBlurChanges(): Observable; private itemFocusSubscription; private itemBlurSubscription; ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** @docs-private */ focusHandler(): void; /** @docs-private */ blurHandler(): void; protected resetOptions(): void; protected dropSubscriptions(): void; protected listenToItemsFocus(): void; protected updateTabIndex(): void; protected isValidIndex(index: number): boolean; protected hasFocusedItem(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_tabindex: unknown; } /** * @deprecated Will be removed in the next major release. */ export declare class KbqNavbarIcContainer { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * @deprecated Will be removed in the next major release. */ export declare class KbqNavbarIc extends KbqFocusable implements AfterContentInit { /** @docs-private */ protected readonly localeService: import("@koobiq/components/core").KbqLocaleService | null; readonly externalConfiguration: unknown; readonly state: BehaviorSubject<"expanded" | "collapsed" | null>; configuration: any; /** @docs-private */ readonly rectangleElements: import("@angular/core").Signal; /** @docs-private */ readonly items: import("@angular/core").Signal; /** @docs-private */ readonly toggleElement: import("@angular/core").Signal; /** @docs-private */ readonly dropdownTrigger: import("@angular/core").Signal; /** @docs-private */ readonly popoverTrigger: import("@angular/core").Signal; /** @docs-private */ readonly notificationCenterTrigger: import("@angular/core").Signal; readonly hovered: BehaviorSubject; readonly focused: BehaviorSubject; readonly animationDone: Subject; expandEvent: KbqExpandEvents | null; pinned: boolean; collapsedWidth: number; expandedWidth: number; get expanded(): boolean; set expanded(value: boolean); private _expanded; get hasOpenedPopUp(): boolean; get expandedByToggle(): boolean; get expandedByHoverOrFocus(): boolean; get currentWidth(): number; private lastOpeningTime; constructor(); /** @docs-private */ ngAfterContentInit(): void; toggle(): void; /** @docs-private */ onKeyDown(event: KeyboardEvent): void; private getExpandDelay; protected updateTooltipForItems: () => void; protected updateExpandedStateForItems: () => void; protected updateItemExpandedState: (item: KbqNavbarIcItem) => void; private updateLocaleParams; private initDefaultParams; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_pinned: unknown; static ngAcceptInputType_collapsedWidth: unknown; static ngAcceptInputType_expandedWidth: unknown; static ngAcceptInputType_expanded: unknown; }