/// import React from "react"; import { CommonComponentProps } from "Types/common"; import { PopoverPosition, PopperBoundary } from "@blueprintjs/core/lib/esnext/components/popover/popoverSharedProps"; import { Modifiers } from "popper.js"; import noop from "lodash/noop"; import "./styles.module.css"; type Variant = "dark" | "light"; export declare const GLOBAL_STYLE_TOOLTIP_CLASSNAME = "ads-global-tooltip"; export type TooltipProps = CommonComponentProps & { content: JSX.Element | string; disabled?: boolean; position?: PopoverPosition; children: JSX.Element | React.ReactNode; variant?: Variant; maxWidth?: string; boundary?: PopperBoundary; minWidth?: string; openOnTargetFocus?: boolean; autoFocus?: boolean; hoverOpenDelay?: number; minimal?: boolean; modifiers?: Modifiers; isOpen?: boolean; onOpening?: typeof noop; popoverClassName?: string; donotUsePortal?: boolean; transitionDuration?: number; underline?: boolean; styles?: any; }; declare function TooltipComponent(props: TooltipProps): JSX.Element; declare namespace TooltipComponent { var defaultProps: { position: "top"; variant: string; }; } export default TooltipComponent;