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)

13 lines • 698 B
import { CallableClass, NotificationCallback, Notifier as Notifier$1, NotifierOptions, WindowsToasterNotification } from "../types.js"; import { EventEmitter } from "node:events"; type Notify = (notification?: string | WindowsToasterNotification, callback?: NotificationCallback) => Notifier$1; declare class WindowsToaster extends EventEmitter implements Notifier$1<WindowsToasterNotification> { #private; options: NotifierOptions; constructor(options?: NotifierOptions); get notify(): Notify; } declare const Notifier: CallableClass<typeof WindowsToaster>; type Notifier = WindowsToaster; export { Notifier as default, Notifier as "module.exports" }; //# sourceMappingURL=toaster.d.ts.map