import * as i0 from '@angular/core'; import { TemplateRef, Type, ElementRef, Injector } from '@angular/core'; import * as _angular_cdk_overlay from '@angular/cdk/overlay'; import { ScrollStrategy } from '@angular/cdk/overlay'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; import { positions } from '@siemens/element-ng/common'; declare class SiTooltipDirective { private static idCounter; /** * The tooltip text to be displayed * * @defaultValue '' */ readonly siTooltip: i0.InputSignal | TranslatableString>; /** * The placement of the tooltip. One of 'top', 'start', end', 'bottom' * * @defaultValue 'auto' */ readonly placement: i0.InputSignal<"auto" | "top" | "start" | "end" | "bottom">; /** * Allows the tooltip to be disabled * * @defaultValue false */ readonly isDisabled: i0.InputSignalWithTransform; /** * CDK scroll strategy used for the tooltip overlay. * * @defaultValue defaultConnectedOverlayScrollStrategy() */ readonly tooltipScrollStrategy: i0.InputSignal<_angular_cdk_overlay.ScrollStrategy>; /** * The context for the attached template */ readonly tooltipContext: i0.InputSignal; protected describedBy: string; private readonly canShow; private readonly tooltipService; private readonly elementRef; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SiTooltipModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * Adds a tooltip containing the host element's text when that text is truncated. */ declare class SiTooltipOverflowDirective { private readonly elementRef; private readonly tooltipService; private readonly element; constructor(); private canShow; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ type SiTooltipContent = TranslatableString | TemplateRef | Type | ElementRef | null | undefined; /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ /** @internal */ interface TooltipRef { destroy(): void; } /** * A service to create tooltips for specific elements. * Use this if the tooltip directive is not suitable. * Must not be used outside element-ng. * * @internal */ declare class SiTooltipService { private overlay; private isBrowser; createTooltip(config: { describedBy?: string; element: ElementRef; placement: () => keyof typeof positions; injector?: Injector; canShow?: () => boolean; tooltip: () => SiTooltipContent; tooltipContext: () => unknown; scrollStrategy?: () => ScrollStrategy | undefined; }): TooltipRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { SiTooltipDirective, SiTooltipModule, SiTooltipOverflowDirective, SiTooltipService }; export type { TooltipRef };