import { Targets } from 'tippy.js'; import { HTMLTippyProps } from './tippy.model'; /** * @description * * Helper class to safely manage tippy instances. */ export declare class TippyHelper { private htmlItem; private popper; private tippy; /** * Reset helper state and invokes `stopTippy` for all active tippy instance. */ destroy(): void; /** * Act as a proxy to tippy library creating a new or updating a existent one. */ startTippy(id: string, tippyOptions: HTMLTippyProps, hoverElement: Targets, tippyElement?: Targets): void; /** * Effectively and safely destroy tippy instances. * @returns boolean Indicating if a tippy instance was destroyed. Otherwise, if have * errors or doesn't exist return false. */ stopTippy(id: string): boolean; private getOptions; private updateItem; }