import { CallableClass, NotificationCallback, NotificationCenterNotification, Notifier as Notifier$1, NotifierOptions } from "../types.js";
import { EventEmitter } from "node:events";
type Notify = (notification?: string | NotificationCenterNotification, callback?: NotificationCallback) => Notifier$1;
declare class NotificationCenter extends EventEmitter implements Notifier$1<NotificationCenterNotification> {
  #private;
  options: NotifierOptions;
  /** Clears each waiting notification. Used by `clearAll`. */
  _activeNotifications: Set<() => void>;
  constructor(options?: NotifierOptions);
  get notify(): Notify;
  /**
   * Kill all running terminal-notifier processes started by this instance, so
   * the application can exit without waiting for their timeouts. Callbacks of
   * cleared notifications are called without an error or response.
   */
  clearAll(): void;
}
declare const Notifier: CallableClass<typeof NotificationCenter>;
type Notifier = NotificationCenter;
export { Notifier as default, Notifier as "module.exports" };
//# sourceMappingURL=notificationcenter.d.ts.map