import { Instance as PopperInstance, Options as PopperOptions } from "@popperjs/core";
export interface TooltipConfig {
    rootContainerSelector: string;
    removeDialogOnDestroy: boolean;
    popperOptions: PopperOptions;
}
export declare const defaultConfig: TooltipConfig;
export default class Tooltip {
    element: HTMLElement;
    config: TooltipConfig;
    instance: PopperInstance;
    trigger: HTMLElement;
    rootContainer?: HTMLElement | null;
    transitioner: any;
    private isOpen;
    private ignoreNextBlur;
    constructor(element: HTMLElement, config?: Partial<TooltipConfig>);
    static getInstance(el: HTMLElement): Tooltip | null;
    wrapLastWordAndButton(): void;
    private init;
    private onDialogMouseDown;
    private onDocumentClick;
    private handleVisibility;
    private onKeydown;
    private toggle;
    show(): void;
    hide(): void;
    update(): void;
    destroy(): void;
}
