UNPKG

@ozarkoc/chordpro-parser

Version:

A browser-friendly bundled version of chordproject-parser

17 lines (16 loc) 479 B
import { IClonable } from "../IClonable"; import { Line } from "../lines/Line"; export declare enum SectionType { Lyrics = "lyrics", Tabs = "tabs", None = "none" } export declare abstract class Section implements IClonable<Section> { get lines(): Line[]; get sectionType(): SectionType; private _sectionType; protected _lines: Line[]; constructor(sectionType: SectionType); abstract addLine(line: Line): void; abstract clone(): Section; }