def METHOD_NAME(value: StrValue | ComplexValue) -> None:
    if "type" not in value:
        raise
    match value:
        case {"type": "Str"}:
            reveal_type(value, expected_text="StrValue")
        case {"type": "Complex"}:
            reveal_type(value, expected_text="ComplexValue")
        case _:
            reveal_type(value, expected_text="Never")