import { NotificationPanelStore } from "../stores"; import { RegisterNotificationPanelComponent, RegisterNotificationProvider } from "../models"; import { ApiPath } from "@omnia/fx/models"; export interface INotificationPanelRegisterApi { registerComponent: (components: RegisterNotificationPanelComponent | RegisterNotificationPanelComponent[]) => void; registerProvider: (providers: RegisterNotificationProvider | RegisterNotificationProvider[]) => void; } type NotificationPanelApi = { store: NotificationPanelStore; }; declare module "../models/WorkplaceApi" { interface IWorkplaceApi { notificationPanel: { registration: Promise; apis: Promise; }; } interface IWorkplaceExtendApiManifest { notificationPanel: { registration: ApiPath; }; } } export {};