import React from 'react'; /** 超链接右键菜单的显示参数。 */ type OfficeHyperlinkContextMenuProps = { /** 菜单相对预览器左侧的位置。 */ x: number; /** 菜单相对预览器顶部的位置。 */ y: number; /** 当前菜单是否用于文档内部跳转。 */ internal: boolean; /** 外部链接最终可复制的安全地址。 */ copyTarget?: string; /** 当前预览器所在的文档对象。 */ ownerDocument: Document; /** 执行当前链接的默认打开或内部跳转。 */ onOpen(): void; /** 关闭右键菜单。 */ onClose(): void; }; /** 渲染安全外部链接和文档内部链接共用的右键操作菜单。 */ export declare function OfficeHyperlinkContextMenu({ x, y, internal, copyTarget, ownerDocument, onOpen, onClose, }: OfficeHyperlinkContextMenuProps): React.JSX.Element; export {};