public function shouldRecordUserActivity(int $type): bool; }