export type VideoPressChapter = { startAt: string; title: string; }; /** * Extracts chapter information from a single text line * * @param {string} line - The line to be processed * @returns {VideoPressChapter} - Title and start time of the chapter */ function extractSingleChapter( line: string ): VideoPressChapter | null { const regex = /(?\(?(?