import * as Notifications from '@openfin/notifications'; import type { NotificationsPlatform, NotificationsRegisterOptions } from './shapes/notifications'; export * from '@openfin/notifications'; export * from './shapes/notifications'; /** * NC 1.x registers via the legacy service channel. NC 2.x+ (including aligned 45.x releases) * register via the workspace sync channel. */ export declare const usesNotificationsSyncChannel: (version: string) => boolean; /** * Notifications Center <= 2.13 expects a legacy NotificationsThemeSet object. * Versions >= 2.14 supports detailed theming. */ export declare const isLegacyNotifications: (version: string) => boolean; /** * @deprecated Use `register` with {@link NotificationsRegisterOptions | options?: NotificationsRegisterOptions} argument instead. */ export declare function register(platform: NotificationsPlatform): Promise; /** * Launches Notifications service and registers a notifications platform. Throws if workspace platform is not initialized or if you run version of notifications-service which doesn't support platforms. * * @param options {@link NotificationsPlatform} object */ export declare function register(options?: NotificationsRegisterOptions): Promise; /** * Deregisters notifications platform. Throws if you run version of notifications-service which doesn't support platforms. * @param platformId id of the platform to deregister */ export declare const deregister: (platformId: string) => Promise;