UNPKG

@nickbusey/thelounge

Version:

The self-hosted Web IRC client

13 lines (12 loc) 381 B
import WebPushAPI from "web-push"; import Client from "../client"; declare class WebPush { vapidKeys?: { publicKey: string; privateKey: string; }; constructor(); push(client: Client, payload: any, onlyToOffline: boolean): void; pushSingle(client: Client, subscription: WebPushAPI.PushSubscription, payload: any): void; } export default WebPush;