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