import { getVapidHeaders, generateVAPIDKeys } from './helpers/vapid.helper'; import { encrypt } from './helpers/encryption.helper'; import { WebPushError } from './errors/web-push-error'; import { setGCMAPIKey, setVapidDetails } from './config/config-store'; import { generateRequestDetails, sendNotification } from './helpers/request.helper'; declare const supportedContentEncodings: { readonly AES_128_GCM: "aes128gcm"; readonly AES_GCM: "aesgcm"; }, supportedUrgency: { readonly VERY_LOW: "very-low"; readonly LOW: "low"; readonly NORMAL: "normal"; readonly HIGH: "high"; }; export { WebPushError, supportedContentEncodings, supportedUrgency, encrypt, getVapidHeaders, generateVAPIDKeys, setGCMAPIKey, setVapidDetails, generateRequestDetails, sendNotification }; declare const _default: { WebPushError: typeof WebPushError; supportedContentEncodings: { readonly AES_128_GCM: "aes128gcm"; readonly AES_GCM: "aesgcm"; }; supportedUrgency: { readonly VERY_LOW: "very-low"; readonly LOW: "low"; readonly NORMAL: "normal"; readonly HIGH: "high"; }; encrypt: typeof encrypt; getVapidHeaders: typeof getVapidHeaders; generateVAPIDKeys: typeof generateVAPIDKeys; setGCMAPIKey: (apiKey: string | null) => void; setVapidDetails: (subject: string | null, publicKey: string, privateKey: string) => void; generateRequestDetails: (subscription: import("./types/web-push").PushSubscription, payload?: string | Buffer, options?: import("./types/web-push").RequestOptions) => import("./types/web-push").RequestDetails; sendNotification: (subscription: import("./types/web-push").PushSubscription, payload?: string | Buffer, options?: import("./types/web-push").RequestOptions) => Promise; }; export default _default;