import { Notification, NotificationType } from '../models/Notification';
/**
 * NotificationService — Phase 16 (2026-04-22), unification U10.
 *
 * SEUL point d'écriture canonique dans `notifications` table.
 *
 * Pattern : toute notif gameplay passe par `create()` (single) ou par les
 * helpers `notifyGang*`, `notifyCartel*` (bulk). Les services qui écrivaient
 * direct via `notificationRepo().save(...)` doivent migrer progressivement.
 *
 * Le but est d'uniformiser le trail (type/title/message/link), permettre
 * les hooks (mute, preferences, priorité) et pouvoir auditer facilement
 * qui notifie qui.
 */
export declare class NotificationService {
    /** Crée une notification pour un joueur. Silencieux si le joueur est absent. */
    static create(params: {
        player_id: string;
        type: NotificationType;
        title: string;
        message: string;
        link?: string | null;
    }): Promise<Notification | null>;
    /** Notifie tous les membres d'un gang (hors joueur exclu optionnel). */
    static notifyGangMembers(gangId: string, payload: Omit<Parameters<typeof NotificationService.create>[0], 'player_id'>, excludePlayerId?: string): Promise<number>;
    /**
     * Notifie le(s) administrateur(s) d'un cartel.
     *
     * Résolution du joueur destinataire dans l'ordre :
     *   1. `CartelMember.primary_player_id`
     *   2. fallback : `Gang.leader_player_id` pour chaque gang membre
     */
    static notifyCartelAdmins(cartelId: string, payload: Omit<Parameters<typeof NotificationService.create>[0], 'player_id'>, excludePlayerId?: string): Promise<number>;
}
//# sourceMappingURL=notification.service.d.ts.map