from pathlib import Path
from typing import NamedTuple

from app.data_structures.time_interval import VideoTimeInterval


class CuttingResult(NamedTuple):
    """
    Represents the result of work of video cutting processing module.
    file_path: path to the file which was created
    interval: time interval of the main video which was cut
    """

    file_path: Path
    interval: VideoTimeInterval
