import * as _angular_cdk_overlay from '@angular/cdk/overlay'; import { ConnectedOverlayPositionChange } from '@angular/cdk/overlay'; import * as _angular_core from '@angular/core'; import { OnDestroy, TemplateRef, OnInit, ElementRef, Injector } from '@angular/core'; import { TranslatableString } from '@siemens/element-translate-ng/translate-types'; import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate'; import { OverlayArrowPosition } from '@siemens/element-ng/common'; declare class SiPopoverDirective implements OnDestroy { private static idCounter; /** * The popover text to be displayed */ readonly siPopover: _angular_core.InputSignal | undefined>; /** * The placement of the popover. One of 'top', 'start', 'end', 'bottom' * * @defaultValue 'auto' */ readonly placement: _angular_core.InputSignal<"auto" | "start" | "end" | "top" | "bottom">; readonly placementInternal: _angular_core.Signal<"auto" | "start" | "end" | "top" | "bottom">; /** * The title to be displayed on top for the popover * * @defaultValue undefined */ readonly title: _angular_core.InputSignal; /** * The class that will be applied to container of the popover * * @defaultValue '' */ readonly containerClass: _angular_core.InputSignal; /** * The icon to be displayed besides popover title * * @defaultValue undefined */ readonly icon: _angular_core.InputSignal; /** * The context for the attached template * * @defaultValue undefined */ readonly context: _angular_core.InputSignal; /** * CDK scroll strategy used for the popover overlay. * * @defaultValue defaultConnectedOverlayScrollStrategy() */ readonly scrollStrategy: _angular_core.InputSignal<_angular_cdk_overlay.ScrollStrategy>; /** * Emits `true` when the popover is shown, `false` when the popover is hidden. */ readonly visibilityChange: _angular_core.OutputEmitterRef; /** @internal */ readonly popoverCounter: number; /** @internal */ readonly popoverId: string; /** * The ID of the trigger element. * * @defaultValue * ``` * `__popover-trigger_${this.popoverCounter}` * ``` */ readonly id: _angular_core.InputSignal; /** @internal */ protected readonly isOpen: _angular_core.WritableSignal; private overlayref?; private popoverRef?; private overlay; private elementRef; private destroyer; ngOnDestroy(): void; /** * Displays popover and emits 'shown' event. */ show(): void; /** * Hides the popover and emits 'hidden' event. */ hide(): void; /** * Updates the position of the popover based on the position strategy. */ updatePosition(): void; protected onClick(): void; private createOverlay; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class PopoverComponent implements OnInit, OnDestroy { /** The directive that supplies and controls the popover content. */ readonly popoverDirective: _angular_core.InputSignal; readonly popoverWrapper: _angular_core.Signal>; /** @internal */ labelledBy: string | undefined; /** * This property is set by the {@link SiPopoverTitleDirective} if present. * * @internal */ readonly hasTemplateTitle: _angular_core.WritableSignal; /** @internal */ describedBy: string | undefined; protected readonly positionClass: _angular_core.WritableSignal; protected readonly ariaLabelledBy: _angular_core.Signal; protected readonly arrowPos: _angular_core.WritableSignal; protected readonly description: _angular_core.Signal<_siemens_element_translate_ng_translate.TranslatableString | undefined>; protected popoverTemplate: TemplateRef | null; protected injector: Injector; private elementRef; private focusTrapFactory; private focusTrap?; private focusTimeoutId?; private readonly previouslyActiveElement; ngOnInit(): void; ngOnDestroy(): void; /** @internal */ updateArrow(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void; hide(): void; private applyFocus; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiPopoverTitleDirective { readonly popover: PopoverComponent; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class SiPopoverBodyDirective { readonly popover: PopoverComponent; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } export { SiPopoverBodyDirective, SiPopoverDirective, SiPopoverTitleDirective };