import * as _angular_core from '@angular/core'; import { AfterViewInit, OnInit, OnDestroy, TemplateRef, EventEmitter, ViewContainerRef, ElementRef, Renderer2 } from '@angular/core'; import { IBsVersion } from 'ngx-bootstrap/utils'; import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader'; import { AvailableBSPositions, PositioningService } from 'ngx-bootstrap/positioning'; import * as i1 from '@angular/common'; /** Default values provider for tooltip */ declare class TooltipConfig { /** sets disable adaptive position */ adaptivePosition: boolean; /** tooltip placement, supported positions: 'top', 'bottom', 'left', 'right' */ placement: string; /** array of event names which triggers tooltip opening */ triggers: string; /** a selector specifying the element the tooltip should be appended to. */ container?: string; /** delay before showing the tooltip */ delay: number; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class TooltipContainerComponent implements AfterViewInit { classMap?: { [key: string]: boolean; }; placement?: string; containerClass?: string; animation?: boolean; id?: string; get _bsVersions(): IBsVersion; constructor(config: TooltipConfig); ngAfterViewInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TooltipDirective implements OnInit, OnDestroy { private _config; private _elementRef; private _renderer; private _positionService; tooltipId: number; /** sets disable adaptive position */ readonly adaptivePosition: _angular_core.InputSignal; /** * Content to be displayed as tooltip. */ readonly tooltip: _angular_core.ModelSignal | undefined>; /** * Placement of a tooltip. Accepts: "top", "bottom", "left", "right" */ readonly placement: _angular_core.InputSignal; /** * Specifies events that should trigger. Supports a space separated list of * event names. */ readonly triggers: _angular_core.InputSignal; /** * A selector specifying the element the tooltip should be appended to. */ readonly container: _angular_core.InputSignal; /** * Css class for tooltip container */ readonly containerClass: _angular_core.InputSignal; readonly boundariesElement: _angular_core.InputSignal<"viewport" | "scrollParent" | "window" | undefined>; /** * Returns whether or not the tooltip is currently being shown */ get isOpen(): boolean; set isOpen(value: boolean); /** * Allows to disable tooltip */ readonly isDisabled: _angular_core.InputSignal; /** * Delay before showing the tooltip */ readonly delay: _angular_core.InputSignal; /** * Emits an event when the tooltip is shown */ onShown: EventEmitter; /** * Emits an event when the tooltip is hidden */ onHidden: EventEmitter; /** @deprecated - please use `tooltip` instead */ readonly tooltipHtml: _angular_core.InputSignal | undefined>; /** @deprecated - please use `placement` instead */ readonly tooltipPlacement: _angular_core.InputSignal; /** @deprecated - please use `isOpen` instead */ readonly tooltipIsOpen: _angular_core.InputSignal; /** @deprecated - please use `isDisabled` instead */ readonly tooltipEnable: _angular_core.InputSignal; /** @deprecated - please use `container="body"` instead */ readonly tooltipAppendToBody: _angular_core.InputSignal; /** @deprecated - removed, will be added to configuration */ readonly tooltipAnimation: _angular_core.InputSignal; /** @deprecated - will replaced with customClass */ readonly tooltipClass: _angular_core.InputSignal; /** @deprecated - removed */ readonly tooltipContext: _angular_core.InputSignal; /** @deprecated */ readonly tooltipPopupDelay: _angular_core.InputSignal; /** @deprecated */ readonly tooltipFadeDuration: _angular_core.InputSignal; /** @deprecated - please use `triggers` instead */ readonly tooltipTrigger: _angular_core.InputSignal; /** @deprecated */ readonly tooltipStateChanged: _angular_core.OutputEmitterRef; protected _delayTimeoutId?: number; protected _tooltipCancelShowFn?: () => void; private _tooltip; private _delaySubscription?; private _ariaDescribedby?; constructor(_viewContainerRef: ViewContainerRef, cis: ComponentLoaderFactory, _config: TooltipConfig, _elementRef: ElementRef, _renderer: Renderer2, _positionService: PositioningService); ngOnInit(): void; setAriaDescribedBy(): void; /** * Toggles an element's tooltip. This is considered a "manual" triggering of * the tooltip. */ toggle(): void; /** * Opens an element's tooltip. This is considered a "manual" triggering of * the tooltip. */ show(): void; /** * Closes an element's tooltip. This is considered a "manual" triggering of * the tooltip. */ hide(): void; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class TooltipModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { TooltipConfig, TooltipContainerComponent, TooltipDirective, TooltipModule };