import * as rxjs from 'rxjs'; import { Subject, Observable } from 'rxjs'; import * as _ngneat_helipopper_config from '@ngneat/helipopper/config'; import { TippyContent, TippyProps, TippyInstance, TippyConfig, CreateOptions, ExtendedTippyInstance, TippyElement } from '@ngneat/helipopper/config'; import * as _angular_core from '@angular/core'; import { OnChanges, AfterViewInit, InputSignal, Type, Injector, ViewContainerRef, NgZone, ElementRef, SimpleChanges, InjectionToken } from '@angular/core'; import { Instance } from 'tippy.js'; import { ViewRef, ViewOptions, ViewService, Content } from '@ngneat/overview'; declare class TippyDirective implements OnChanges, AfterViewInit { readonly appendTo: InputSignal<"parent" | Element | ((ref: Element) => Element)>; readonly content: InputSignal; readonly delay: InputSignal; readonly duration: InputSignal; readonly hideOnClick: InputSignal; readonly interactive: InputSignal; readonly interactiveBorder: InputSignal; readonly maxWidth: InputSignal; readonly offset: InputSignal; readonly placement: InputSignal; readonly popperOptions: InputSignal; readonly showOnCreate: InputSignal; readonly trigger: InputSignal; readonly triggerTarget: InputSignal; readonly zIndex: InputSignal; readonly animation: InputSignal; readonly useTextContent: _angular_core.InputSignalWithTransform; readonly isLazy: _angular_core.InputSignalWithTransform; readonly variation: InputSignal; readonly isEnabled: InputSignal; readonly className: InputSignal; readonly onlyTextOverflow: _angular_core.InputSignalWithTransform; readonly staticWidthHost: _angular_core.InputSignalWithTransform; readonly data: InputSignal; /** Angular `inputBinding`/`outputBinding`/`twoWayBinding` descriptors forwarded to `createComponent`. */ readonly bindings: InputSignal<_angular_core.Binding[] | undefined>; /** Host directives (with optional bindings) forwarded to `createComponent`. */ readonly directives: InputSignal<(Type | _angular_core.DirectiveWithBindings)[] | undefined>; readonly useHostWidth: _angular_core.InputSignalWithTransform; readonly hideOnEscape: _angular_core.InputSignalWithTransform; readonly tippyProps: InputSignal | undefined>; readonly popperWidth: InputSignal; readonly customHost: InputSignal; readonly tpOnShow: _angular_core.OutputEmitterRef; readonly tpOnHide: _angular_core.OutputEmitterRef; readonly isVisible: _angular_core.ModelSignal; visible: _angular_core.OutputEmitterRef; protected instance: TippyInstance; protected viewRef: ViewRef | null; protected props: Partial; protected variationDefined: boolean; protected viewOptions$: ViewOptions | null; /** * We had use `visible` event emitter previously as a `takeUntil` subscriber in multiple places * within the directive. * This is for internal use only; thus we don't have to deal with the `visible` event emitter * and trigger change detections only when the `visible` event is being listened outside * in the template (``). */ protected visibleInternal: Subject; private visibilityObserverCleanup; private contentChanged; private host; private get hostWidth(); private destroyRef; private tippyService; private isServer; private tippyFactory; private destroyed; private created; protected globalConfig: Partial<_ngneat_helipopper_config.ExtendedTippyProps>; protected injector: Injector; protected viewService: ViewService; protected vcr: ViewContainerRef; protected ngZone: NgZone; protected hostRef: ElementRef; private loaderViewRef; private globalLoaderComponent; private loaderTiming; constructor(); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; destroyView(): void; /** * This method is useful when you append to an element that you might remove from the DOM. * In such cases we want to hide the tooltip and let it go through the destroy lifecycle. * For example, if you have a grid row with an element that you toggle using the display CSS property on hover. */ observeHostVisibility(): rxjs.Subscription | undefined; show(): void; hide(): void; enable(): void; disable(): void; protected updateProps(props: Partial): void; protected setProps(props: Partial): void; protected setStatus(isEnabled: boolean): void; protected hasContent(): boolean; protected createInstance(): Promise; protected resolveContent(instance: TippyInstance, resolvedContent?: Type): string | Element; protected handleContextMenu(): void; protected handleEscapeButton(): void; protected checkOverflow(isElementOverflow: boolean): void; protected listenToHostResize(): void; protected clearInstanceWidth(instance: Instance): void; protected setInstanceWidth(instance: Instance, width: string | number): void; private onMount; private onCreate; private onHidden; private onShow; private handleOnShow; private isOverflowing$; private setupListeners; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class TippyService { private readonly _ngZone; private readonly _injector; private readonly _globalConfig; private readonly _viewService; private readonly _tippyFactory; readonly enabled: _angular_core.WritableSignal; enableAll(): void; disableAll(): void; create(host: HTMLElement, content: T, options?: Partial): Observable>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare function inView(host: TippyElement, options?: IntersectionObserverInit): Observable; declare function overflowChanges(host: TippyElement): Observable; declare const TIPPY_REF: InjectionToken; declare function injectTippyRef(): TippyInstance; export { TIPPY_REF, TippyDirective, TippyService, inView, injectTippyRef, overflowChanges };