import React, { PropsWithChildren } from "react";
interface Props {
    className?: string;
    as?: "div" | "span";
    openOn: "hover" | "click";
    bottom?: boolean;
    right?: boolean;
    content: React.ReactNode;
    onClick?: () => void;
    open?: boolean;
    contentWidth?: string;
}
interface State {
    isOpen: boolean;
}
declare class Tooltip extends React.PureComponent<PropsWithChildren<Props>, State> {
    state: {
        isOpen: boolean;
    };
    private openModal;
    private closeModal;
    handleClickOutside(): void;
    render(): import("react/jsx-runtime").JSX.Element;
}
declare const _default: typeof Tooltip;
export default _default;
