import type { NotificationTarget } from '@xopcai/gateway-contract'; type ServiceAccount = { project_id: string; key_id: string; sub_account: string; private_key: string; }; type PushCategory = 'WORK' | 'IM' | 'MARKETING'; export type HarmonyPushConfig = { accountFile: string; category: PushCategory; testMessage: boolean; }; export type HarmonyNotification = { pushToken: string; eventId: string; title: string; body?: string; gatewayId?: string; target?: NotificationTarget; }; export declare function harmonyPushConfig(env?: NodeJS.ProcessEnv): HarmonyPushConfig | undefined; export declare function createHarmonyPushJwt(account: ServiceAccount, now?: number): string; /** Uses HarmonyOS V3 service-account authentication, not the Android HMS OAuth flow. */ export declare function sendHarmonyPush(notification: HarmonyNotification, fetchImpl?: typeof fetch, config?: HarmonyPushConfig | undefined): Promise; export {};