UNPKG

node-notifier

Version:

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

23 lines • 1.89 kB
import Notifier$4 from "./notifiers/balloon.js"; import Notifier from "./notifiers/growl.js"; import Notifier$1 from "./notifiers/notificationcenter.js"; import Notifier$3 from "./notifiers/notifysend.js"; import Notifier$5 from "./notifiers/toaster.js"; import { AnyNotification, CallableClass, GrowlNotification, GrowlOptions, NotificationCallback, NotificationCenterNotification, NotificationMetadata, Notifier as Notifier$2, NotifierClass, NotifierOptions, NotifySendNotification, NotifySendOptions, WindowsBalloonNotification, WindowsToasterNotification } from "./types.js"; /** The default notifier, with all notifier classes attached. */ export interface DefaultNotifier extends Notifier$2<AnyNotification> { Notification: NotifierClass; NotifySend: typeof Notifier$3; NotificationCenter: typeof Notifier$1; WindowsToaster: typeof Notifier$5; WindowsBalloon: typeof Notifier$4; Growl: typeof Notifier; } /** The notifier class picked for the current platform. */ declare const Notification: NotifierClass; /** A ready-to-use instance of the notifier for the current platform. */ declare const notifier: DefaultNotifier; /** `notify` of the default instance, bound so it can be used on its own. */ export declare const notify: DefaultNotifier["notify"]; export { type AnyNotification, type CallableClass, Notifier as Growl, type GrowlNotification, type GrowlOptions, Notification, type NotificationCallback, Notifier$1 as NotificationCenter, type NotificationCenterNotification, type NotificationMetadata, type Notifier$2 as Notifier, type NotifierClass, type NotifierOptions, Notifier$3 as NotifySend, type NotifySendNotification, type NotifySendOptions, Notifier$4 as WindowsBalloon, type WindowsBalloonNotification, Notifier$5 as WindowsToaster, type WindowsToasterNotification, notifier as default, notifier as "module.exports" }; //# sourceMappingURL=index.d.ts.map