Hi , this code have the " Type or namespace definition, or end-of-file expected" error

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Playerlook : MonoBehaviour
{

public Camera cam;
private float xRotation = 0f;
public float xSensitivity = 30f;
public float ySensitivity = 30f;

public void ProcessLook(Vector2 input);
{
float mouseX = input.x;
float mouseY = input.y;
xRotation -= (mouseY * Time.deltaTime) * ySensitivity;
xRotation = Mathf.Clamp(xRotation, -80f, 80f);
cam.transform.localRotation = Quaternion.Euler(xRotation, 0, 0);
transform.Rotate(Vector3.up * (mouseX * Time.deltaTime) * xSensitivity);

}

}

Please use code tags if you post code.

There is a ; at the end of your method, that has to be removed.
“public void ProcessLook(Vector2 input);