Implement the split_even_numbers function that processes a list of integers and splits the even numbers into specific formats based on a provided split type. The function should keep the odd numbers unchanged and group the even numbers according to the defined splitting rules.
Input/Output Requirements
Function Signature: def split_even_numbers(numbers: List[int], split_type: int) -> List[int]:
Input:
numbers: A list of integers (both even and odd).
split_type: An integer indicating the type of splitting for even numbers (0 to 3).
Output: A list of integers resulting from the processing of the input numbers.
Split Type Logic
split_type = 0: Replace the even number with the last valid pair (largest odd number less than or equal to the even number).
split_type = 1: Replace the even number with the first valid pair (smallest odd number less than or equal to the even number).
split_type = 2: Replace the even number with the largest divisor that is odd, filling it with the maximum count of that divisor.
split_type = 3: Replace the even number with 1s for the count of that number.
File Requirement
The solution must be implemented in a Python file located at /app/solution.py.
Ensure that the function handles edge cases, such as empty input lists or lists containing only odd numbers. Testing the function with various scenarios to verify its behavior for each split_type is also recommended.