public function recordUserActivity(UserActivityType $type, array $data = []): void; }