public function getUserActivityTitle(): ?string;  	public function getUserActivityUrl(): ?string;  	public function getUserActivityLinkedRelations(): array;  	public function shouldRecordUserActivity(UserActivityType $type): bool;  	public function recordUserActivity(UserActivityType $type, array $data = []): void; }