/**
 * Map Gateway — Socket.IO natif (PAS NestJS)
 *
 * S'intègre dans server.ts via initMapGateway(io).
 * Namespace /map pour tous les événements carte temps réel.
 */
import { Server } from 'socket.io';
/**
 * Initialize the /map namespace on the Socket.IO server.
 * Call this AFTER initDatabase() in server.ts.
 */
export declare function initMapGateway(io: Server): void;
/**
 * Emit an event to the room of a single player on the /map namespace.
 * Safe to call before the gateway initializes (no-op until initMapGateway).
 * Used by non-map services (police, judicial, prison…) to push targeted
 * real-time updates without adding a second namespace.
 */
export declare function emitToPlayer(playerId: string, event: string, data: unknown): void;
/**
 * Phase 8 (2026-04-27) — Broadcast à tous les clients connectés au /map.
 * Utilisé pour les events globaux comme création/suppression de POI prison
 * lazy (apparaît/disparaît live pour tous les joueurs).
 */
export declare function emitToAll(event: string, data: unknown): void;
/**
 * Resolve arrivals and broadcast (called by CRON/setInterval).
 *
 * Audit 15-04-2026 (Phase 3) : hook GangOrderService.executeAtArrival
 * for journeys with `order_type != 'travel'`. Executes the order logic
 * at destination and broadcasts the outcome to the gang leader room.
 */
export declare function resolveAndBroadcastArrivals(): Promise<void>;
/**
 * Broadcast visibility update for a specific player
 */
export declare function broadcastVisibilityUpdate(playerId: string): Promise<void>;
//# sourceMappingURL=map.gateway.d.ts.map