import React from "react"; import type { TooltipPlacement } from "../Tooltip"; import "./index.less"; export interface Props { /** * If there are multiple children, they should handle inline display by self. */ children?: React.ReactNode; /** * If falsy, tooltip icon will hide. */ explanation?: React.ReactNode; placement?: TooltipPlacement; iconPosition?: "left" | "right"; } export declare const WithExplanation: ({ children, explanation, iconPosition }: Props) => string | number | bigint | true | Iterable | Promise> | Iterable | null | undefined> | React.JSX.Element;