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, WindowsBalloonNotification } from "../types.js"; import { EventEmitter } from "node:events"; type Notify = (notification?: string | WindowsBalloonNotification, callback?: NotificationCallback) => Notifier$1; declare class WindowsBalloon extends EventEmitter implements Notifier$1<WindowsBalloonNotification> { #private; options: NotifierOptions; constructor(options?: NotifierOptions); get notify(): Notify; } declare const Notifier: CallableClass<typeof WindowsBalloon>; type Notifier = WindowsBalloon; export { Notifier as default, Notifier as "module.exports" }; //# sourceMappingURL=balloon.d.ts.map