import type { ReactNode } from 'react'; import React from 'react'; /** Office提示组件属性。 */ type OfficeNoticeProps = { /** 用于区分联合类型分支的类型标识。 */ type: 'error' | 'warning'; /** 面向用户展示的标题。 */ title: string; /** 补充说明内容。 */ description: string; /** 提示下方可选的恢复操作。 */ action?: ReactNode; }; /** 展示不阻断预览流程的提示信息。 */ declare function OfficeNoticeComponent({ type, title, description, action, }: OfficeNoticeProps): React.JSX.Element; export declare const OfficeNotice: React.MemoExoticComponent; export {};