Implement a function called calculate_total_price in the file /app/solution.py. This function should accept a list of item prices (floats or integers) and a discount percentage (float) as parameters. The function must calculate the total price by summing the item prices and then applying the discount. The final total price should be returned as a float, rounded to two decimal places.
Requirements:
The function should handle an empty list of item prices by returning 0.00 as the total price.
The discount percentage should be a value between 0 and 100. If it is outside this range, the function should raise a ValueError with the message "Invalid discount percentage".
Ensure that the function is well-documented with comments explaining its parameters and return value.
Use appropriate type hints for the function signature.
For example:
For the input calculate_total_price([100, 200, 300], 10), the output should be 540.00 (the sum is 600, then 10% discount is applied).
For input calculate_total_price([], 5), the output should be 0.00.
For an invalid input like calculate_total_price([100, 200], -5), a ValueError should be raised.