I am not even sure that type[Literal] is correct :)
from typing import Literal
def a(x: type[Literal['a']]):
reveal_type(x)
a(str) # Argument 1 to "a" has incompatible type "type[str]"; expected "type[Literal['a']]" [arg-type]
https://mypy-play.net/?mypy=latest&python=3.12&gist=6b8a1d7e6f98c64e7f751c58d356bf16