/** * User-facing security email and in-app notifications. * Failures are logged but never block the primary action. */ type LoginContext = { ipAddress?: string; userAgent?: string; countryCode?: string | null; }; export declare function notifyNewLogin(userId: string, ctx: LoginContext): Promise; export declare function notifyNewCountryLogin(userId: string, ctx: LoginContext): Promise; export declare function notifyPasswordChanged(userId: string, ctx: LoginContext): Promise; export declare function notifyTotpEnabled(userId: string, ctx: LoginContext): Promise; export declare function notifyTotpDisabled(userId: string, ctx: LoginContext): Promise; /** * Notifies the account owner after an emergency CLI break-glass 2FA reset. */ export declare function notifyBreakGlassAdmin2faReset(userId: string, ctx: { operator?: string | null; hostname?: string; }): Promise; export declare function notifyRolesChanged(userId: string, roles: string[], ctx: LoginContext): Promise; export declare function notifyPermissionsChanged(userId: string, permissions: string[], ctx: LoginContext): Promise; export {}; //# sourceMappingURL=securityNotificationService.d.ts.map