chordsheetjs 14.6.1 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +12 -3
  2. package/lib/bundle.js +25728 -66671
  3. package/lib/bundle.min.js +148 -7118
  4. package/lib/index.js +1 -7770
  5. package/lib/index.js.map +1 -1
  6. package/lib/main.d.ts +2 -131
  7. package/lib/main.d.ts.map +1 -1
  8. package/lib/module.js +2 -7769
  9. package/lib/module.js.map +1 -1
  10. package/lib/pdf/chord.d.ts +219 -0
  11. package/lib/pdf/chord_definition/chord_definition.d.ts +66 -0
  12. package/lib/pdf/chord_definition/chord_definition_set.d.ts +12 -0
  13. package/lib/pdf/chord_diagram/chord_diagram.d.ts +131 -0
  14. package/lib/pdf/chord_diagram/js_pdf_renderer.d.ts +40 -0
  15. package/lib/pdf/chord_diagram/renderer.d.ts +43 -0
  16. package/lib/pdf/chord_parsing_error.d.ts +2 -0
  17. package/lib/pdf/chord_sheet/ast_component.d.ts +11 -0
  18. package/lib/pdf/chord_sheet/ast_type.d.ts +9 -0
  19. package/lib/pdf/chord_sheet/chord_lyrics_pair.d.ts +60 -0
  20. package/lib/pdf/chord_sheet/chord_pro/composite.d.ts +11 -0
  21. package/lib/pdf/chord_sheet/chord_pro/evaluatable.d.ts +7 -0
  22. package/lib/pdf/chord_sheet/chord_pro/evaluation_error.d.ts +7 -0
  23. package/lib/pdf/chord_sheet/chord_pro/literal.d.ts +9 -0
  24. package/lib/pdf/chord_sheet/chord_pro/ternary.d.ts +29 -0
  25. package/lib/pdf/chord_sheet/comment.d.ts +21 -0
  26. package/lib/pdf/chord_sheet/font.d.ts +47 -0
  27. package/lib/pdf/chord_sheet/font_size.d.ts +33 -0
  28. package/lib/pdf/chord_sheet/font_stack.d.ts +13 -0
  29. package/lib/pdf/chord_sheet/item.d.ts +7 -0
  30. package/lib/pdf/chord_sheet/line.d.ts +130 -0
  31. package/lib/pdf/chord_sheet/line_expander.d.ts +12 -0
  32. package/lib/pdf/chord_sheet/metadata.d.ts +71 -0
  33. package/lib/pdf/chord_sheet/metadata_accessors.d.ts +18 -0
  34. package/lib/pdf/chord_sheet/paragraph.d.ts +48 -0
  35. package/lib/pdf/chord_sheet/soft_line_break.d.ts +15 -0
  36. package/lib/pdf/chord_sheet/song.d.ts +253 -0
  37. package/lib/pdf/chord_sheet/song_mapper.d.ts +15 -0
  38. package/lib/pdf/chord_sheet/standard_metadata_providers.d.ts +5 -0
  39. package/lib/pdf/chord_sheet/tag.d.ts +104 -0
  40. package/lib/pdf/chord_sheet/tag_interpreter.d.ts +14 -0
  41. package/lib/pdf/chord_sheet/tags.d.ts +259 -0
  42. package/lib/pdf/chord_sheet/trace_info.d.ts +6 -0
  43. package/lib/pdf/chord_sheet_serializer.d.ts +49 -0
  44. package/lib/pdf/constants.d.ts +117 -0
  45. package/lib/pdf/formatter/chord_pro_formatter.d.ts +39 -0
  46. package/lib/pdf/formatter/chord_renderer.d.ts +30 -0
  47. package/lib/pdf/formatter/chords_over_words_formatter.d.ts +33 -0
  48. package/lib/pdf/formatter/configuration/base_configuration.d.ts +58 -0
  49. package/lib/pdf/formatter/configuration/default_config_manager.d.ts +31 -0
  50. package/lib/pdf/formatter/configuration/html_configuration.d.ts +37 -0
  51. package/lib/pdf/formatter/configuration/index.d.ts +13 -0
  52. package/lib/pdf/formatter/configuration/measured_html_configuration.d.ts +38 -0
  53. package/lib/pdf/formatter/configuration/measurement_based_configuration.d.ts +204 -0
  54. package/lib/pdf/formatter/configuration/pdf_configuration.d.ts +16 -0
  55. package/lib/pdf/formatter/formatter.d.ts +38 -0
  56. package/lib/pdf/formatter/formatting_context.d.ts +7 -0
  57. package/lib/pdf/formatter/html_div_formatter.d.ts +9 -0
  58. package/lib/pdf/formatter/html_formatter.d.ts +60 -0
  59. package/lib/pdf/formatter/html_table_formatter.d.ts +10 -0
  60. package/lib/pdf/formatter/measured_html_formatter.d.ts +43 -0
  61. package/lib/pdf/formatter/measurement_based_formatter.d.ts +19 -0
  62. package/lib/pdf/formatter/pdf_formatter/doc_wrapper.d.ts +53 -0
  63. package/lib/pdf/formatter/pdf_formatter/fonts/NimbusSansLFonts.base64.d.ts +4 -0
  64. package/lib/pdf/formatter/pdf_formatter/types.d.ts +34 -0
  65. package/lib/pdf/formatter/pdf_formatter.d.ts +40 -0
  66. package/lib/pdf/formatter/templates/html_div_formatter.d.ts +3 -0
  67. package/lib/pdf/formatter/templates/html_table_formatter.d.ts +3 -0
  68. package/lib/pdf/formatter/text_formatter.d.ts +35 -0
  69. package/lib/pdf/helpers.d.ts +42 -0
  70. package/lib/pdf/index.d.ts +126 -0
  71. package/lib/pdf/index.js +24369 -0
  72. package/lib/pdf/key.d.ts +124 -0
  73. package/lib/pdf/key_config.d.ts +3 -0
  74. package/lib/pdf/layout/engine/condition.d.ts +25 -0
  75. package/lib/pdf/layout/engine/dimensions.d.ts +33 -0
  76. package/lib/pdf/layout/engine/index.d.ts +7 -0
  77. package/lib/pdf/layout/engine/item_processor.d.ts +70 -0
  78. package/lib/pdf/layout/engine/layout_engine.d.ts +67 -0
  79. package/lib/pdf/layout/engine/layout_factory.d.ts +22 -0
  80. package/lib/pdf/layout/engine/layout_helpers.d.ts +35 -0
  81. package/lib/pdf/layout/engine/line_breaker.d.ts +54 -0
  82. package/lib/pdf/layout/engine/paragraph_splitter/index.d.ts +5 -0
  83. package/lib/pdf/layout/engine/paragraph_splitter/paragraph_splitter.d.ts +5 -0
  84. package/lib/pdf/layout/engine/paragraph_splitter/strategies/five_or_more_lines_paragraph_split_strategy.d.ts +14 -0
  85. package/lib/pdf/layout/engine/paragraph_splitter/strategies/four_lines_paragraph_split_strategy.d.ts +8 -0
  86. package/lib/pdf/layout/engine/paragraph_splitter/strategies/three_or_less_lines_paragraph_split_strategy.d.ts +4 -0
  87. package/lib/pdf/layout/engine/title_separator_tag.d.ts +8 -0
  88. package/lib/pdf/layout/engine/types.d.ts +98 -0
  89. package/lib/pdf/layout/measurement/canvas_measurer.d.ts +18 -0
  90. package/lib/pdf/layout/measurement/dom_measurer.d.ts +21 -0
  91. package/lib/pdf/layout/measurement/index.d.ts +4 -0
  92. package/lib/pdf/layout/measurement/js_pdf_measurer.d.ts +12 -0
  93. package/lib/pdf/layout/measurement/measurer.d.ts +52 -0
  94. package/lib/pdf/module.js +24336 -0
  95. package/lib/pdf/normalize_mappings/enharmonic-normalize.d.ts +2 -0
  96. package/lib/pdf/normalize_mappings/suffix-normalize-mapping.d.ts +2 -0
  97. package/lib/pdf/pango/pango_helpers.d.ts +6 -0
  98. package/lib/pdf/parser/chord/peg_parser.d.ts +55 -0
  99. package/lib/pdf/parser/chord_definition/peg_parser.d.ts +55 -0
  100. package/lib/pdf/parser/chord_pro/helpers.d.ts +15 -0
  101. package/lib/pdf/parser/chord_pro/peg_parser.d.ts +55 -0
  102. package/lib/pdf/parser/chord_pro_parser.d.ts +32 -0
  103. package/lib/pdf/parser/chord_sheet_parser.d.ts +57 -0
  104. package/lib/pdf/parser/chords_over_words/helpers.d.ts +33 -0
  105. package/lib/pdf/parser/chords_over_words/peg_parser.d.ts +55 -0
  106. package/lib/pdf/parser/chords_over_words_parser.d.ts +67 -0
  107. package/lib/pdf/parser/null_tracer.d.ts +4 -0
  108. package/lib/pdf/parser/parser_helpers.d.ts +3 -0
  109. package/lib/pdf/parser/parser_warning.d.ts +33 -0
  110. package/lib/pdf/parser/ultimate_guitar_parser.d.ts +46 -0
  111. package/lib/pdf/pdf.d.ts +2 -0
  112. package/lib/pdf/rendering/html/html_doc_wrapper.d.ts +82 -0
  113. package/lib/pdf/rendering/html/html_element_styler.d.ts +58 -0
  114. package/lib/pdf/rendering/html/positioned_html_renderer.d.ts +85 -0
  115. package/lib/pdf/rendering/pdf/js_pdf_renderer.d.ts +46 -0
  116. package/lib/pdf/rendering/pdf/pdf_chord_diagram_renderer.d.ts +118 -0
  117. package/lib/pdf/rendering/renderer.d.ts +273 -0
  118. package/lib/pdf/rendering/shared/layout_section_renderer.d.ts +93 -0
  119. package/lib/pdf/scales.d.ts +3 -0
  120. package/lib/pdf/serialized_types.d.ts +76 -0
  121. package/lib/pdf/song_builder.d.ts +38 -0
  122. package/lib/pdf/template_helpers/metadata_processor.d.ts +14 -0
  123. package/lib/pdf/template_helpers/when.d.ts +13 -0
  124. package/lib/pdf/template_helpers/when_callback.d.ts +2 -0
  125. package/lib/pdf/template_helpers/when_clause.d.ts +8 -0
  126. package/lib/pdf/template_helpers.d.ts +64 -0
  127. package/lib/pdf/utilities.d.ts +35 -0
  128. package/lib/pdf/version.d.ts +2 -0
  129. package/package.json +20 -2
@@ -0,0 +1,34 @@
1
+ import { ImageCompression, ImageOptions, RGBAData, TextOptionsLight, jsPDFOptions } from 'jspdf';
2
+ export interface PdfDoc {
3
+ get internal(): {
4
+ pageSize: {
5
+ getWidth(): number;
6
+ };
7
+ };
8
+ addImage(imageData: string | HTMLImageElement | HTMLCanvasElement | Uint8Array | RGBAData, format: string, x: number, y: number, width: number, height: number, alias?: string, compression?: ImageCompression, rotation?: number): PdfDoc;
9
+ addImage(imageData: string | HTMLImageElement | HTMLCanvasElement | Uint8Array | RGBAData, x: number, y: number, width: number, height: number, alias?: string, compression?: ImageCompression, rotation?: number): PdfDoc;
10
+ addImage(options: ImageOptions): PdfDoc;
11
+ circle(x: number, y: number, r: number, style?: string | null): PdfDoc;
12
+ getTextDimensions(text: string, options?: TextOptionsLight): {
13
+ w: number;
14
+ h: number;
15
+ };
16
+ line(x1: number, y1: number, x2: number, y2: number, style?: string | null): PdfDoc;
17
+ roundedRect(x: number, y: number, w: number, h: number, rx: number, ry: number, style?: string | null): PdfDoc;
18
+ save(filename: string, options: {
19
+ returnPromise: true;
20
+ }): Promise<void>;
21
+ save(filename?: string): PdfDoc;
22
+ setDrawColor(ch1: string | number, ch2?: number, ch3?: number, ch4?: number): PdfDoc;
23
+ setFont(fontName: string, fontStyle?: string, fontWeight?: string | number): PdfDoc;
24
+ setFontSize(size: number): PdfDoc;
25
+ setPage(page: number): PdfDoc;
26
+ setLineWidth(width: number): PdfDoc;
27
+ setTextColor(ch1: string): PdfDoc;
28
+ setTextColor(ch1: number): PdfDoc;
29
+ setTextColor(ch1: number, ch2: number, ch3: number, ch4?: number): PdfDoc;
30
+ text(text: string | string[], x: number, y: number, options?: TextOptionsLight, transform?: any): PdfDoc;
31
+ addFileToVFS(fileName: string, data: string): PdfDoc;
32
+ addFont(postScriptName: string, id: string, fontStyle: string, fontWeight?: string | number, encoding?: 'StandardEncoding' | 'MacRomanEncoding' | 'Identity-H' | 'WinAnsiEncoding', isStandardFont?: boolean): string;
33
+ }
34
+ export type PdfConstructor = new (options?: jsPDFOptions) => PdfDoc;
@@ -0,0 +1,40 @@
1
+ import { Blob } from 'buffer';
2
+ import DocWrapper from './pdf_formatter/doc_wrapper';
3
+ import MeasurementBasedFormatter from './measurement_based_formatter';
4
+ import { PDFFormatterConfiguration } from './configuration';
5
+ import { PdfConstructor } from './pdf_formatter/types';
6
+ import Song from '../chord_sheet/song';
7
+ /**
8
+ * PdfFormatter formats a song into a PDF document.
9
+ */
10
+ declare class PdfFormatter extends MeasurementBasedFormatter<PDFFormatterConfiguration> {
11
+ private song;
12
+ private renderer;
13
+ /**
14
+ * Get the default configuration for PDF formatter
15
+ */
16
+ protected getDefaultConfiguration(): PDFFormatterConfiguration;
17
+ /**
18
+ * Formats a song into a PDF.
19
+ * @param song - The song to format.
20
+ * @param docConstructor - The PDF document constructor.
21
+ */
22
+ format(song: Song, docConstructor?: PdfConstructor): void;
23
+ /**
24
+ * Create the layout engine with the appropriate configuration
25
+ */
26
+ private createLayoutEngine;
27
+ /**
28
+ * Save the formatted document as a PDF file
29
+ */
30
+ save(): void;
31
+ /**
32
+ * Generate the PDF as a Blob object
33
+ */
34
+ generatePDF(): Promise<Blob>;
35
+ /**
36
+ * Get the document wrapper - primarily for testing purposes.
37
+ */
38
+ getDocumentWrapper(): DocWrapper;
39
+ }
40
+ export default PdfFormatter;
@@ -0,0 +1,3 @@
1
+ import { HtmlTemplateArgs } from '../html_formatter';
2
+ declare const _default: ({ configuration, configuration: { key, cssClasses: c, }, song, metadata, renderBlankLines, song: { title, subtitle, }, bodyParagraphs, }: HtmlTemplateArgs) => string;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { HtmlTemplateArgs } from '../html_formatter';
2
+ declare const _default: ({ configuration, configuration: { key, cssClasses: c, }, song, metadata, renderBlankLines, song: { title, subtitle, bodyLines, }, bodyParagraphs, }: HtmlTemplateArgs) => string;
3
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import ChordLyricsPair from '../chord_sheet/chord_lyrics_pair';
2
+ import Formatter from './formatter';
3
+ import Item from '../chord_sheet/item';
4
+ import Line from '../chord_sheet/line';
5
+ import Metadata from '../chord_sheet/metadata';
6
+ import Paragraph from '../chord_sheet/paragraph';
7
+ import Song from '../chord_sheet/song';
8
+ /**
9
+ * Formats a song into a plain text chord sheet
10
+ */
11
+ declare class TextFormatter extends Formatter {
12
+ song: Song;
13
+ metadata: Metadata;
14
+ /**
15
+ * Formats a song into a plain text chord sheet
16
+ * @param {Song} song The song to be formatted
17
+ * @param {Metadata} metadata Optional override of metadata used for formatting
18
+ * @returns {string} the chord sheet
19
+ */
20
+ format(song: Song, metadata?: Metadata): string;
21
+ formatHeader(): string;
22
+ formatParagraphs(): string;
23
+ formatParagraph(paragraph: Paragraph, metadata: Metadata): string;
24
+ formatLine(line: Line, metadata: Metadata): string;
25
+ formatTitle(title: string | null): string;
26
+ formatSubTitle(subtitle: string | null): string;
27
+ formatLineTop(line: Line, metadata: Metadata): string | null;
28
+ chordLyricsPairLength(chordLyricsPair: ChordLyricsPair, line: Line): number;
29
+ private renderChords;
30
+ formatItemTop(item: Item, _metadata: Metadata, line: Line): string;
31
+ formatLineBottom(line: Line, metadata: Metadata): string;
32
+ formatLineWithFormatter(line: Line, formatter: (_item: Item, _metadata: Metadata, _line: Line) => string, metadata: Metadata): string;
33
+ formatItemBottom(item: Item, metadata: Metadata, line: Line): string;
34
+ }
35
+ export default TextFormatter;
@@ -0,0 +1,42 @@
1
+ import FormattingContext from './formatter/formatting_context';
2
+ import Key from './key';
3
+ import Line from './chord_sheet/line';
4
+ import Song from './chord_sheet/song';
5
+ export declare function transposeDistance(transposeKey: string, songKey: string | Key): number;
6
+ interface RenderChordOptions {
7
+ renderKey?: Key | null;
8
+ useUnicodeModifier?: boolean;
9
+ normalizeChords?: boolean;
10
+ decapo?: boolean;
11
+ }
12
+ /**
13
+ * Renders a chord in the context of a line and song and taking into account some options
14
+ * @param chordString The chord to render
15
+ * @param line The line the chord is in
16
+ * @param song The song the line is in
17
+ * @param renderKey The key to render the chord in. If not provided, the line key will be used,
18
+ * or the song key if the line key is not provided.
19
+ * @param useUnicodeModifier Whether to use unicode modifiers ('\u266f'/'\u266d') or plain text ('#'/'b').
20
+ * Default `false`.
21
+ * @param normalizeChords Whether to normalize the chord to the key (default `true`)
22
+ * @param decapo Whether to transpose all chords to eliminate the capo (default `false`)
23
+ */
24
+ export declare function renderChord(chordString: string, line: Line, song: Song, { renderKey, useUnicodeModifier, normalizeChords, decapo, }?: RenderChordOptions): string;
25
+ /**
26
+ * Returns applicable capos for the provided key
27
+ * @param {Key|string} key The key to get capos for
28
+ * @returns {Object.<string, string>} The available capos, where the keys are capo numbers and the
29
+ * values are the effective key for that capo.
30
+ */
31
+ export declare function getCapos(key: Key | string): Record<string, string>;
32
+ /**
33
+ * Returns applicable keys to transpose to from the provided key
34
+ * @param {Key|string} key The key to get keys for
35
+ * @returns {Array<string>} The available keys
36
+ */
37
+ export declare function getKeys(key: Key | string): string[];
38
+ export declare function testSelector({ selector, isNegated }: {
39
+ selector: string;
40
+ isNegated: boolean;
41
+ }, { configuration, metadata }: FormattingContext): boolean;
42
+ export {};
@@ -0,0 +1,126 @@
1
+ import Chord from './chord';
2
+ import ChordDefinition from './chord_definition/chord_definition';
3
+ import ChordLyricsPair from './chord_sheet/chord_lyrics_pair';
4
+ import ChordProFormatter from './formatter/chord_pro_formatter';
5
+ import ChordProParser from './parser/chord_pro_parser';
6
+ import ChordSheetParser from './parser/chord_sheet_parser';
7
+ import ChordSheetSerializer from './chord_sheet_serializer';
8
+ import ChordsOverWordsFormatter from './formatter/chords_over_words_formatter';
9
+ import ChordsOverWordsParser from './parser/chords_over_words_parser';
10
+ import Comment from './chord_sheet/comment';
11
+ import Composite from './chord_sheet/chord_pro/composite';
12
+ import HtmlDivFormatter from './formatter/html_div_formatter';
13
+ import HtmlTableFormatter from './formatter/html_table_formatter';
14
+ import Line from './chord_sheet/line';
15
+ import Literal from './chord_sheet/chord_pro/literal';
16
+ import MeasuredHtmlFormatter from './formatter/measured_html_formatter';
17
+ import Metadata from './chord_sheet/metadata';
18
+ import Paragraph from './chord_sheet/paragraph';
19
+ import SoftLineBreak from './chord_sheet/soft_line_break';
20
+ import Song from './chord_sheet/song';
21
+ import Tag from './chord_sheet/tag';
22
+ import Ternary from './chord_sheet/chord_pro/ternary';
23
+ import TextFormatter from './formatter/text_formatter';
24
+ import UltimateGuitarParser from './parser/ultimate_guitar_parser';
25
+ import { each, evaluate, fontStyleTag, hasChordContents, hasTextContents, isChordLyricsPair, isComment, isEvaluatable, isImage, isTag, lineClasses, lineHasContents, pangoToHtml, paragraphClasses, renderChord, stripHTML, stripPangoMarkup, when } from './template_helpers';
26
+ import { BaseMeasurer } from './layout/measurement';
27
+ import { CanvasMeasurer } from './layout/measurement';
28
+ import { DomMeasurer } from './layout/measurement';
29
+ import { LayoutEngine } from './layout/engine';
30
+ export { default as Chord } from './chord';
31
+ export { default as ChordDefinition } from './chord_definition/chord_definition';
32
+ export { default as ChordLyricsPair } from './chord_sheet/chord_lyrics_pair';
33
+ export { default as ChordProFormatter } from './formatter/chord_pro_formatter';
34
+ export { default as MeasuredHtmlFormatter } from './formatter/measured_html_formatter';
35
+ export { default as ChordProParser } from './parser/chord_pro_parser';
36
+ export { default as ChordSheetParser } from './parser/chord_sheet_parser';
37
+ export { default as ChordSheetSerializer } from './chord_sheet_serializer';
38
+ export { default as ChordsOverWordsFormatter } from './formatter/chords_over_words_formatter';
39
+ export { default as ChordsOverWordsParser } from './parser/chords_over_words_parser';
40
+ export { default as Comment } from './chord_sheet/comment';
41
+ export { default as Composite } from './chord_sheet/chord_pro/composite';
42
+ export { default as Formatter } from './formatter/formatter';
43
+ export { default as HtmlDivFormatter } from './formatter/html_div_formatter';
44
+ export { default as HtmlFormatter } from './formatter/html_formatter';
45
+ export { default as HtmlTableFormatter } from './formatter/html_table_formatter';
46
+ export { default as Key } from './key';
47
+ export { default as Line } from './chord_sheet/line';
48
+ export { default as Literal } from './chord_sheet/chord_pro/literal';
49
+ export { default as Metadata } from './chord_sheet/metadata';
50
+ export { default as Paragraph } from './chord_sheet/paragraph';
51
+ export { default as SoftLineBreak } from './chord_sheet/soft_line_break';
52
+ export { default as Song } from './chord_sheet/song';
53
+ export { default as Tag } from './chord_sheet/tag';
54
+ export { default as Ternary } from './chord_sheet/chord_pro/ternary';
55
+ export { default as TextFormatter } from './formatter/text_formatter';
56
+ export { default as UltimateGuitarParser } from './parser/ultimate_guitar_parser';
57
+ export { default as templateHelpers } from './template_helpers';
58
+ export { default as version } from './version';
59
+ export { IMAGE } from './chord_sheet/tags';
60
+ export { defaultPangoRenderer, pangoToHtml, stripPangoMarkup } from './pango/pango_helpers';
61
+ export type { PangoRenderer } from './pango/pango_helpers';
62
+ export * from './serialized_types';
63
+ export { BaseMeasurer } from './layout/measurement/measurer';
64
+ export { DomMeasurer } from './layout/measurement';
65
+ export { CanvasMeasurer } from './layout/measurement';
66
+ export { LayoutEngine } from './layout/engine/layout_engine';
67
+ export { ABC, CHORUS, INDETERMINATE, LILYPOND, NONE, SVG, NUMERIC, SOLFEGE, SYMBOL, TAB, TEXTBLOCK, VERSE, PART, NUMERAL, } from './constants';
68
+ declare const _default: {
69
+ CHORUS: string;
70
+ Chord: typeof Chord;
71
+ ChordDefinition: typeof ChordDefinition;
72
+ ChordLyricsPair: typeof ChordLyricsPair;
73
+ ChordProFormatter: typeof ChordProFormatter;
74
+ MeasuredHtmlFormatter: typeof MeasuredHtmlFormatter;
75
+ ChordProParser: typeof ChordProParser;
76
+ ChordSheetParser: typeof ChordSheetParser;
77
+ ChordSheetSerializer: typeof ChordSheetSerializer;
78
+ ChordsOverWordsFormatter: typeof ChordsOverWordsFormatter;
79
+ ChordsOverWordsParser: typeof ChordsOverWordsParser;
80
+ Comment: typeof Comment;
81
+ Composite: typeof Composite;
82
+ HtmlDivFormatter: typeof HtmlDivFormatter;
83
+ HtmlTableFormatter: typeof HtmlTableFormatter;
84
+ INDETERMINATE: string;
85
+ Line: typeof Line;
86
+ Literal: typeof Literal;
87
+ Metadata: typeof Metadata;
88
+ NONE: string;
89
+ Paragraph: typeof Paragraph;
90
+ PART: string;
91
+ SoftLineBreak: typeof SoftLineBreak;
92
+ Song: typeof Song;
93
+ TAB: string;
94
+ TEXTBLOCK: string;
95
+ Tag: typeof Tag;
96
+ Ternary: typeof Ternary;
97
+ TextFormatter: typeof TextFormatter;
98
+ UltimateGuitarParser: typeof UltimateGuitarParser;
99
+ VERSE: string;
100
+ BaseMeasurer: typeof BaseMeasurer;
101
+ DomMeasurer: typeof DomMeasurer;
102
+ CanvasMeasurer: typeof CanvasMeasurer;
103
+ LayoutEngine: typeof LayoutEngine;
104
+ version: string;
105
+ templateHelpers: {
106
+ isEvaluatable: typeof isEvaluatable;
107
+ isChordLyricsPair: typeof isChordLyricsPair;
108
+ lineHasContents: typeof lineHasContents;
109
+ isTag: typeof isTag;
110
+ isComment: typeof isComment;
111
+ isImage: typeof isImage;
112
+ stripHTML: typeof stripHTML;
113
+ each: typeof each;
114
+ when: typeof when;
115
+ hasTextContents: typeof hasTextContents;
116
+ lineClasses: typeof lineClasses;
117
+ paragraphClasses: typeof paragraphClasses;
118
+ evaluate: typeof evaluate;
119
+ fontStyleTag: typeof fontStyleTag;
120
+ renderChord: typeof renderChord;
121
+ hasChordContents: typeof hasChordContents;
122
+ pangoToHtml: typeof pangoToHtml;
123
+ stripPangoMarkup: typeof stripPangoMarkup;
124
+ };
125
+ };
126
+ export default _default;