from __future__ import annotations
from typing import Any, TypedDict

class TableBorder(TypedDict, total=False):
    TopLine: BorderLine
    IsTopLineValid: bool
    BottomLine: BorderLine
    IsBottomLineValid: bool
    LeftLine: BorderLine
    IsLeftLineValid: bool
    RightLine: BorderLine
    IsRightLineValid: bool
    HorizontalLine: BorderLine
    IsHorizontalLineValid: bool
    VerticalLine: BorderLine
    IsVerticalLineValid: bool
    Distance: int
    IsDistanceValid: bool
