export interface WebhookRequest { headers: Record; rawBody: string; } export interface WebhookEvent { name: string; channel?: string; event?: string; data?: string; socket_id?: string; user_id?: string; } export interface WebhookData { time_ms: number; events: WebhookEvent[]; } export interface WebhookToken { key: string; secret: string; }