import React, { Ref } from 'react';
import { Options } from 'tooltip.js';
export declare type variants = 'primary' | 'secondary' | 'raw';
export interface Props extends Options {
    variant?: variants;
    role?: string;
    children: React.ReactNode;
    className?: string;
    ref?: Ref<any>;
}
export declare const defaultProps: {
    role: string;
    placement: string;
    variant: variants;
};
export declare class TooltipComponent extends React.Component<Props> {
    static defaultProps: {
        role: string;
        placement: string;
        variant: variants;
    };
    private popper?;
    containerRef: React.RefObject<HTMLDivElement>;
    getOptions: () => Options;
    private initPopper;
    private destroyPopper;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate(prevProps: Props & Readonly<{
        children?: React.ReactNode;
    }>): void;
    hide(): void;
    render(): JSX.Element;
    private getPopover;
    private modifier;
}
export declare const Tooltip: import("styled-components").StyledComponent<typeof TooltipComponent, import("styled-components").DefaultTheme, Props, never>;
//# sourceMappingURL=Tooltip.d.ts.map