import * as i0 from '@angular/core'; import { TemplateRef, AfterViewInit, OnChanges, OnDestroy, Renderer2, ElementRef, NgZone, EventEmitter, SimpleChanges, OnInit } from '@angular/core'; import { FocusHandlerService } from '@usitsdasdesign/dds-ng/core/focus-handler'; import { Size, PositionState, Themes } from '@usitsdasdesign/dds-ng/shared'; import { PopupService } from '@usitsdasdesign/dds-ng/core/popup'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; declare class TooltipService extends PopupService { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface TooltipOptions { ddsTooltip?: string | TemplateRef; tooltipKeyboardFocusEl?: HTMLElement; tooltipInvokeType?: InvokeType | string; tooltipType?: TooltipType | string; tooltipSize?: Size | string; tooltipPosition?: PositionState | string; tooltipCustomClass?: string; tooltipIndent?: number; tooltipWidth?: number; tooltipMaxWidth?: number; tooltipShift?: number; tooltipShowDelay?: number; tooltipHideDelay?: number; tooltipHasBeak?: boolean; tooltipIsDisabled?: boolean; tooltipIsInverse?: boolean; tooltipIsOutsideClick?: boolean; tooltipIsDynamic?: boolean; tooltipTheme?: Themes | string; } declare enum TooltipType { regular = "regular", error = "error" } declare enum TooltipClass { tooltip = "dds-tooltip", tooltipLarge = "dds-tooltip_lg", error = "dds-tooltip_error", isInverse = "dds-tooltip_inverse", blueTheme = "dds-tooltip_blue", greenTheme = "dds-tooltip_green" } declare enum InvokeType { click = "click", hover = "hover" } declare class TooltipDirective implements AfterViewInit, OnChanges, OnDestroy { document: any; renderer: Renderer2; el: ElementRef; ngZone: NgZone; private tooltipService; private focusHandlerService; ddsTooltip: string | TemplateRef; tooltipKeyboardFocusEl: HTMLElement; tooltipWidth: number; tooltipMaxWidth: number; tooltipIsDisabled: boolean; tooltipIsInverse: boolean; tooltipIsOutsideClick: boolean; tooltipIsDynamic: boolean; tooltipShift: number; tooltipIndent: number; tooltipShowDelay: number; tooltipHideDelay: number; tooltipInvokeType: InvokeType | string; tooltipPosition: PositionState | string; tooltipType: TooltipType | string; tooltipTheme: Themes | string; tooltipSize: Size | string; tooltipHasBeak: boolean; tooltipCustomClass: string; onShown: EventEmitter; onHidden: EventEmitter; popupEl: HTMLElement; beakEl: HTMLElement; private resize; private scroll; private mouseenter; private mouseleave; private elClick; private outsideCLick; private destroy; private showTimeoutVar; private hideTimeoutVar; constructor(document: any, renderer: Renderer2, el: ElementRef, ngZone: NgZone, tooltipService: TooltipService, focusHandlerService: FocusHandlerService); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnDestroy(): void; show(): void; hide(event?: Event): void; updPosition(): void; private keyboardInteraction; private keyboardFocus; private keyboardUnFocus; private setAria; private bindListeners; private createBeak; private checkBeak; private hoverListener; private checkCoords; private clickListener; private resizeAndScrollListeners; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TooltipComponent implements OnInit { el: ElementRef; private renderer; private ddsConfig; width: number | undefined; maxWidth: number | undefined; position: PositionState | string | undefined; type: TooltipType | string | undefined; size: Size | string | undefined; customClass: string | undefined; isInverse: boolean | undefined; theme: Themes | string | undefined; constructor(el: ElementRef, renderer: Renderer2, ddsConfig: DdsConfigService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TooltipModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { InvokeType, TooltipClass, TooltipDirective, TooltipModule, TooltipType }; export type { TooltipOptions };