@gmb/bitmark-parser-generator 5.15.0 → 5.17.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.
package/dist/index.d.cts CHANGED
@@ -1099,6 +1099,16 @@ declare const TextMarkType: {
1099
1099
  readonly light: "light";
1100
1100
  readonly italic: "italic";
1101
1101
  readonly highlight: "highlight";
1102
+ readonly highlightOrange: "highlightOrange";
1103
+ readonly highlightYellow: "highlightYellow";
1104
+ readonly highlightGreen: "highlightGreen";
1105
+ readonly highlightBlue: "highlightBlue";
1106
+ readonly highlightPurple: "highlightPurple";
1107
+ readonly highlightPink: "highlightPink";
1108
+ readonly highlightBrown: "highlightBrown";
1109
+ readonly highlightBlack: "highlightBlack";
1110
+ readonly highlightWhite: "highlightWhite";
1111
+ readonly highlightGray: "highlightGray";
1102
1112
  readonly strike: "strike";
1103
1113
  readonly subscript: "subscript";
1104
1114
  readonly superscript: "superscript";
@@ -3523,6 +3533,7 @@ type GenerateOptions = {
3523
3533
  plainTextDividerAllowed?: boolean;
3524
3534
  noBreakscaping?: boolean;
3525
3535
  forceInline?: boolean;
3536
+ noMarkup?: boolean;
3526
3537
  };
3527
3538
  declare const Stage: {
3528
3539
  enter: string;
@@ -6475,6 +6486,13 @@ interface CreateAstOptions {
6475
6486
  */
6476
6487
  inputFormat?: InputType;
6477
6488
  }
6489
+ interface ExtractPlainTextOptions {
6490
+ /**
6491
+ * Set to force input to be interpreted as a particular format, overriding the auto-detection
6492
+ * Auto-detection can fail for certain inputs as the input formats can overlap
6493
+ */
6494
+ inputFormat?: InputFormatType;
6495
+ }
6478
6496
  /**
6479
6497
  * Breakscape options
6480
6498
  */
@@ -6557,8 +6575,30 @@ declare const Output: {
6557
6575
  * Output AST as a plain JS object, or a file
6558
6576
  */
6559
6577
  readonly ast: "ast";
6578
+ /**
6579
+ * Output plain text as a string, or a file
6580
+ */
6581
+ readonly text: "text";
6560
6582
  };
6561
6583
  type OutputType = EnumType<typeof Output>;
6584
+ /**
6585
+ * Input format enumeration
6586
+ */
6587
+ declare const InputFormat: {
6588
+ /**
6589
+ * Input is bitmark
6590
+ */
6591
+ readonly bitmark: "bitmark";
6592
+ /**
6593
+ * Input is bitmarkText
6594
+ */
6595
+ readonly bitmarkText: "bitmarkText";
6596
+ /**
6597
+ * Input is plain text
6598
+ */
6599
+ readonly plainText: "plainText";
6600
+ };
6601
+ type InputFormatType = EnumType<typeof InputFormat>;
6562
6602
  /**
6563
6603
  * Options for bitmark text JSON generation
6564
6604
  */
@@ -6622,6 +6662,12 @@ declare class BitmarkParserGenerator {
6622
6662
  * - input(JSON/AST) ==> output(bitmark)
6623
6663
  * - input(bitmark) ==> output(JSON)
6624
6664
  *
6665
+ * Output type can be overridden to one of the following:
6666
+ * - bitmark: output bitmark string
6667
+ * - json: output JSON as a plain JS object, or a file
6668
+ * - ast: output AST as a plain JS object, or a file
6669
+ * - text: output plain text as a string, or a file
6670
+ *
6625
6671
  * By default, the result is returned as a string for bitmark, or a plain JS object for JSON/AST.
6626
6672
  *
6627
6673
  * The options can be used to write the output to a file and to set conversion options or override defaults.
@@ -6675,7 +6721,7 @@ declare class BitmarkParserGenerator {
6675
6721
  */
6676
6722
  createAst(input: unknown, options?: CreateAstOptions): BitmarkAst;
6677
6723
  /**
6678
- * Convert bitmark text from JSON, or JSON to bitmark text.
6724
+ * Convert bitmark text to JSON, or JSON to bitmark text.
6679
6725
  *
6680
6726
  * Input type is detected automatically and may be:
6681
6727
  * - string: bitmark text or JSON
@@ -6698,6 +6744,7 @@ declare class BitmarkParserGenerator {
6698
6744
  * @throws Error if any error occurs
6699
6745
  */
6700
6746
  convertText(input: string | unknown, options?: ConvertTextOptions): string | unknown | void;
6747
+ extractPlainText(input: string | unknown, options?: ExtractPlainTextOptions): string;
6701
6748
  /**
6702
6749
  * Breakscape bitmark text.
6703
6750
  *
@@ -6736,6 +6783,7 @@ declare class BitmarkParserGenerator {
6736
6783
  * @throws Error if any error occurs
6737
6784
  */
6738
6785
  unbreakscapeText(input: string, options?: UnbreakscapeOptions): string | void;
6786
+ textAstToPlainText(textAst: TextAst, _options?: ExtractPlainTextOptions): string;
6739
6787
  /**
6740
6788
  * Stringify / prettify a plain JS object to a JSON string, depending on the JSON options
6741
6789
  *
@@ -6902,4 +6950,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
6902
6950
  generateSync(_ast: BitmarkAst): void;
6903
6951
  }
6904
6952
 
6905
- export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };
6953
+ export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, InputFormat, type InputFormatType, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };
package/dist/index.d.ts CHANGED
@@ -1099,6 +1099,16 @@ declare const TextMarkType: {
1099
1099
  readonly light: "light";
1100
1100
  readonly italic: "italic";
1101
1101
  readonly highlight: "highlight";
1102
+ readonly highlightOrange: "highlightOrange";
1103
+ readonly highlightYellow: "highlightYellow";
1104
+ readonly highlightGreen: "highlightGreen";
1105
+ readonly highlightBlue: "highlightBlue";
1106
+ readonly highlightPurple: "highlightPurple";
1107
+ readonly highlightPink: "highlightPink";
1108
+ readonly highlightBrown: "highlightBrown";
1109
+ readonly highlightBlack: "highlightBlack";
1110
+ readonly highlightWhite: "highlightWhite";
1111
+ readonly highlightGray: "highlightGray";
1102
1112
  readonly strike: "strike";
1103
1113
  readonly subscript: "subscript";
1104
1114
  readonly superscript: "superscript";
@@ -3523,6 +3533,7 @@ type GenerateOptions = {
3523
3533
  plainTextDividerAllowed?: boolean;
3524
3534
  noBreakscaping?: boolean;
3525
3535
  forceInline?: boolean;
3536
+ noMarkup?: boolean;
3526
3537
  };
3527
3538
  declare const Stage: {
3528
3539
  enter: string;
@@ -6475,6 +6486,13 @@ interface CreateAstOptions {
6475
6486
  */
6476
6487
  inputFormat?: InputType;
6477
6488
  }
6489
+ interface ExtractPlainTextOptions {
6490
+ /**
6491
+ * Set to force input to be interpreted as a particular format, overriding the auto-detection
6492
+ * Auto-detection can fail for certain inputs as the input formats can overlap
6493
+ */
6494
+ inputFormat?: InputFormatType;
6495
+ }
6478
6496
  /**
6479
6497
  * Breakscape options
6480
6498
  */
@@ -6557,8 +6575,30 @@ declare const Output: {
6557
6575
  * Output AST as a plain JS object, or a file
6558
6576
  */
6559
6577
  readonly ast: "ast";
6578
+ /**
6579
+ * Output plain text as a string, or a file
6580
+ */
6581
+ readonly text: "text";
6560
6582
  };
6561
6583
  type OutputType = EnumType<typeof Output>;
6584
+ /**
6585
+ * Input format enumeration
6586
+ */
6587
+ declare const InputFormat: {
6588
+ /**
6589
+ * Input is bitmark
6590
+ */
6591
+ readonly bitmark: "bitmark";
6592
+ /**
6593
+ * Input is bitmarkText
6594
+ */
6595
+ readonly bitmarkText: "bitmarkText";
6596
+ /**
6597
+ * Input is plain text
6598
+ */
6599
+ readonly plainText: "plainText";
6600
+ };
6601
+ type InputFormatType = EnumType<typeof InputFormat>;
6562
6602
  /**
6563
6603
  * Options for bitmark text JSON generation
6564
6604
  */
@@ -6622,6 +6662,12 @@ declare class BitmarkParserGenerator {
6622
6662
  * - input(JSON/AST) ==> output(bitmark)
6623
6663
  * - input(bitmark) ==> output(JSON)
6624
6664
  *
6665
+ * Output type can be overridden to one of the following:
6666
+ * - bitmark: output bitmark string
6667
+ * - json: output JSON as a plain JS object, or a file
6668
+ * - ast: output AST as a plain JS object, or a file
6669
+ * - text: output plain text as a string, or a file
6670
+ *
6625
6671
  * By default, the result is returned as a string for bitmark, or a plain JS object for JSON/AST.
6626
6672
  *
6627
6673
  * The options can be used to write the output to a file and to set conversion options or override defaults.
@@ -6675,7 +6721,7 @@ declare class BitmarkParserGenerator {
6675
6721
  */
6676
6722
  createAst(input: unknown, options?: CreateAstOptions): BitmarkAst;
6677
6723
  /**
6678
- * Convert bitmark text from JSON, or JSON to bitmark text.
6724
+ * Convert bitmark text to JSON, or JSON to bitmark text.
6679
6725
  *
6680
6726
  * Input type is detected automatically and may be:
6681
6727
  * - string: bitmark text or JSON
@@ -6698,6 +6744,7 @@ declare class BitmarkParserGenerator {
6698
6744
  * @throws Error if any error occurs
6699
6745
  */
6700
6746
  convertText(input: string | unknown, options?: ConvertTextOptions): string | unknown | void;
6747
+ extractPlainText(input: string | unknown, options?: ExtractPlainTextOptions): string;
6701
6748
  /**
6702
6749
  * Breakscape bitmark text.
6703
6750
  *
@@ -6736,6 +6783,7 @@ declare class BitmarkParserGenerator {
6736
6783
  * @throws Error if any error occurs
6737
6784
  */
6738
6785
  unbreakscapeText(input: string, options?: UnbreakscapeOptions): string | void;
6786
+ textAstToPlainText(textAst: TextAst, _options?: ExtractPlainTextOptions): string;
6739
6787
  /**
6740
6788
  * Stringify / prettify a plain JS object to a JSON string, depending on the JSON options
6741
6789
  *
@@ -6902,4 +6950,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
6902
6950
  generateSync(_ast: BitmarkAst): void;
6903
6951
  }
6904
6952
 
6905
- export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };
6953
+ export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, InputFormat, type InputFormatType, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };