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