export interface EventEnvelope { id: string; timestamp: string; // ISO type: string; // PascalCase event type payload: T; }