/** * Push Notifications — aight.push.register, aight.push.unregister, aight.push.test * * Auth model: the relay has a master secret. During device registration, the * plugin calls relay /register with the device push token. The relay returns * a sendKey = HMAC(masterSecret, pushToken). The plugin stores the sendKey * alongside the device token. When sending a push, the plugin includes the * sendKey. The relay recomputes the HMAC and verifies — zero state, no shared secrets. */ import type { OpenClawPluginApi } from "openclaw/plugin-sdk"; import type { AightConfig } from "./config.js"; export { loadTokens, saveTokens, registerToken, unregisterToken } from "./push-store.js"; export { sendPush, obtainSendKey } from "./push-net.js"; export type { DeviceToken } from "./push-store.js"; export type { PushPayload } from "./push-net.js"; export declare function registerPush(api: OpenClawPluginApi, _config: AightConfig): void;