Provide a type definition for the following class in Python.
class Student:
    def __init__(self, name, age):
        self.name = name
        self.age = age
from typing import NamedTuple

class Student(NamedTuple):
    name: str
    age: int