import * as z from 'zod/v4'; export declare const TriggerEvent: { readonly USER_CREATED: "user-created"; readonly USER_UPDATED: "user-updated"; readonly USERNAME_REMINDER: "username-reminder"; readonly RESET_PASSWORD: "reset-password"; readonly RESET_PASSWORD_BY_ADMIN: "reset-password-by-admin"; readonly RESEND_INVITE: "resend-invite"; readonly TWO_FA: "2fa"; readonly ALL_USER_NOTIFICATION: "all-user-notification"; readonly CHANGE_PHONE_NUMBER: "change-phone-number"; readonly CHANGE_EMAIL_ADDRESS: "change-email-address"; }; export type TriggerEvent = (typeof TriggerEvent)[keyof typeof TriggerEvent]; export declare const Recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; export type Recipient = z.infer; export declare const BasePayload: z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export type BasePayload = z.infer; export declare const TriggerPayload: { readonly "user-created": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; username: z.ZodString; temporaryPassword: z.ZodString; }, z.core.$strip>; readonly "user-updated": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; oldUsername: z.ZodString; newUsername: z.ZodString; }, z.core.$strip>; readonly "username-reminder": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; username: z.ZodString; }, z.core.$strip>; readonly "reset-password": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; code: z.ZodString; }, z.core.$strip>; readonly "reset-password-by-admin": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; temporaryPassword: z.ZodString; admin: z.ZodObject<{ id: z.ZodString; name: z.ZodObject<{ firstname: z.ZodString; surname: z.ZodString; middlename: z.ZodOptional; }, z.core.$strip>; role: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; readonly "resend-invite": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; username: z.ZodString; temporaryPassword: z.ZodString; }, z.core.$strip>; readonly "2fa": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; code: z.ZodString; }, z.core.$strip>; readonly "all-user-notification": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; subject: z.ZodString; body: z.ZodString; }, z.core.$strip>; readonly "change-phone-number": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; code: z.ZodString; }, z.core.$strip>; readonly "change-email-address": z.ZodObject<{ recipient: z.ZodObject<{ name: z.ZodOptional; }, z.core.$strip>>; mobile: z.ZodOptional; email: z.ZodOptional; bcc: z.ZodOptional>; }, z.core.$strip>; code: z.ZodString; }, z.core.$strip>; }; export type TriggerPayload = { [K in TriggerEvent]: z.infer<(typeof TriggerPayload)[K]>; }; export declare function triggerUserEventNotification(args: { event: typeof TriggerEvent.ALL_USER_NOTIFICATION; payload: TriggerPayload[typeof TriggerEvent.ALL_USER_NOTIFICATION]; countryConfigUrl: string; }): Promise; export declare function triggerUserEventNotification>(args: { event: T; payload: TriggerPayload[T]; countryConfigUrl: string; authHeader: { Authorization: string; }; }): Promise; export declare function parseUserEventTrigger(event: T, body: unknown): TriggerPayload[T]; //# sourceMappingURL=UserNotifications.d.ts.map