import { ApiPath, RichTextEditorExtensionMessage } from "@omnia/fx-models"; import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper"; export interface IRegisterRichTextEditorExtension { registerExtension: (items: RichTextEditorExtensionMessage | RichTextEditorExtensionMessage[]) => void; } export interface IRichTextEditorPublicApi { registration: Promise; helper: Promise; } declare module "@omnia/fx-models/ux/UxApi" { interface IOmniaUxApi { richTextEditor: IRichTextEditorPublicApi; } interface IOmniaUxExtendApiManifest { richTextEditor: { registration: ApiPath; helper: ApiPath; }; } }