lyrics-structure
Version:
Parser for lyrics with structured sections, names, and indications
11 lines (10 loc) • 471 B
TypeScript
/**
* Splits text into natural sections based on text structure.
* Works with plain text without requiring markdown or special formatting.
* Empty lines are treated as natural separators between parts.
*
* @param text - The input text to be split into sections
* @param maxLinesPerSlide - Maximum number of lines to include in a single slide (default: 6)
* @returns An array of content sections
*/
export declare const getSlideParts: (text?: string) => string[];