from abc import abstractmethod from typing import List, BinaryIO from src.ui.bigtext.line import Line class PreProcessLinesHook: @abstractmethod def pre_process_line(self, line: str, file_io: BinaryIO) -> str: return line