import type { ReactElement } from 'react'; import React from 'react'; import './index.less'; /** Tooltip 支持的工具栏定位方式。 */ export type OfficeTooltipPlacement = 'bottom' | 'bottom-end'; /** 预览器内部提示属性。 */ export type OfficeTooltipProps = { /** 提示中展示的本地化文字。 */ content: string; /** 气泡相对触发元素的定位方式。 */ placement?: OfficeTooltipPlacement; /** 接收提示语义的单个触发元素。 */ children: ReactElement; }; /** 渲染无需全局弹层容器的内部提示。 */ export declare function OfficeTooltip({ children, content, placement, }: OfficeTooltipProps): React.JSX.Element;