@gmb/bitmark-parser-generator 5.15.0 → 5.16.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
@@ -3523,6 +3523,7 @@ type GenerateOptions = {
3523
3523
  plainTextDividerAllowed?: boolean;
3524
3524
  noBreakscaping?: boolean;
3525
3525
  forceInline?: boolean;
3526
+ noMarkup?: boolean;
3526
3527
  };
3527
3528
  declare const Stage: {
3528
3529
  enter: string;
@@ -6475,6 +6476,13 @@ interface CreateAstOptions {
6475
6476
  */
6476
6477
  inputFormat?: InputType;
6477
6478
  }
6479
+ interface ExtractPlainTextOptions {
6480
+ /**
6481
+ * Set to force input to be interpreted as a particular format, overriding the auto-detection
6482
+ * Auto-detection can fail for certain inputs as the input formats can overlap
6483
+ */
6484
+ inputFormat?: InputFormatType;
6485
+ }
6478
6486
  /**
6479
6487
  * Breakscape options
6480
6488
  */
@@ -6557,8 +6565,30 @@ declare const Output: {
6557
6565
  * Output AST as a plain JS object, or a file
6558
6566
  */
6559
6567
  readonly ast: "ast";
6568
+ /**
6569
+ * Output plain text as a string, or a file
6570
+ */
6571
+ readonly text: "text";
6560
6572
  };
6561
6573
  type OutputType = EnumType<typeof Output>;
6574
+ /**
6575
+ * Input format enumeration
6576
+ */
6577
+ declare const InputFormat: {
6578
+ /**
6579
+ * Input is bitmark
6580
+ */
6581
+ readonly bitmark: "bitmark";
6582
+ /**
6583
+ * Input is bitmarkText
6584
+ */
6585
+ readonly bitmarkText: "bitmarkText";
6586
+ /**
6587
+ * Input is plain text
6588
+ */
6589
+ readonly plainText: "plainText";
6590
+ };
6591
+ type InputFormatType = EnumType<typeof InputFormat>;
6562
6592
  /**
6563
6593
  * Options for bitmark text JSON generation
6564
6594
  */
@@ -6622,6 +6652,12 @@ declare class BitmarkParserGenerator {
6622
6652
  * - input(JSON/AST) ==> output(bitmark)
6623
6653
  * - input(bitmark) ==> output(JSON)
6624
6654
  *
6655
+ * Output type can be overridden to one of the following:
6656
+ * - bitmark: output bitmark string
6657
+ * - json: output JSON as a plain JS object, or a file
6658
+ * - ast: output AST as a plain JS object, or a file
6659
+ * - text: output plain text as a string, or a file
6660
+ *
6625
6661
  * By default, the result is returned as a string for bitmark, or a plain JS object for JSON/AST.
6626
6662
  *
6627
6663
  * The options can be used to write the output to a file and to set conversion options or override defaults.
@@ -6675,7 +6711,7 @@ declare class BitmarkParserGenerator {
6675
6711
  */
6676
6712
  createAst(input: unknown, options?: CreateAstOptions): BitmarkAst;
6677
6713
  /**
6678
- * Convert bitmark text from JSON, or JSON to bitmark text.
6714
+ * Convert bitmark text to JSON, or JSON to bitmark text.
6679
6715
  *
6680
6716
  * Input type is detected automatically and may be:
6681
6717
  * - string: bitmark text or JSON
@@ -6698,6 +6734,7 @@ declare class BitmarkParserGenerator {
6698
6734
  * @throws Error if any error occurs
6699
6735
  */
6700
6736
  convertText(input: string | unknown, options?: ConvertTextOptions): string | unknown | void;
6737
+ extractPlainText(input: string | unknown, options?: ExtractPlainTextOptions): string;
6701
6738
  /**
6702
6739
  * Breakscape bitmark text.
6703
6740
  *
@@ -6736,6 +6773,7 @@ declare class BitmarkParserGenerator {
6736
6773
  * @throws Error if any error occurs
6737
6774
  */
6738
6775
  unbreakscapeText(input: string, options?: UnbreakscapeOptions): string | void;
6776
+ textAstToPlainText(textAst: TextAst, _options?: ExtractPlainTextOptions): string;
6739
6777
  /**
6740
6778
  * Stringify / prettify a plain JS object to a JSON string, depending on the JSON options
6741
6779
  *
@@ -6902,4 +6940,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
6902
6940
  generateSync(_ast: BitmarkAst): void;
6903
6941
  }
6904
6942
 
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 };
6943
+ 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
@@ -3523,6 +3523,7 @@ type GenerateOptions = {
3523
3523
  plainTextDividerAllowed?: boolean;
3524
3524
  noBreakscaping?: boolean;
3525
3525
  forceInline?: boolean;
3526
+ noMarkup?: boolean;
3526
3527
  };
3527
3528
  declare const Stage: {
3528
3529
  enter: string;
@@ -6475,6 +6476,13 @@ interface CreateAstOptions {
6475
6476
  */
6476
6477
  inputFormat?: InputType;
6477
6478
  }
6479
+ interface ExtractPlainTextOptions {
6480
+ /**
6481
+ * Set to force input to be interpreted as a particular format, overriding the auto-detection
6482
+ * Auto-detection can fail for certain inputs as the input formats can overlap
6483
+ */
6484
+ inputFormat?: InputFormatType;
6485
+ }
6478
6486
  /**
6479
6487
  * Breakscape options
6480
6488
  */
@@ -6557,8 +6565,30 @@ declare const Output: {
6557
6565
  * Output AST as a plain JS object, or a file
6558
6566
  */
6559
6567
  readonly ast: "ast";
6568
+ /**
6569
+ * Output plain text as a string, or a file
6570
+ */
6571
+ readonly text: "text";
6560
6572
  };
6561
6573
  type OutputType = EnumType<typeof Output>;
6574
+ /**
6575
+ * Input format enumeration
6576
+ */
6577
+ declare const InputFormat: {
6578
+ /**
6579
+ * Input is bitmark
6580
+ */
6581
+ readonly bitmark: "bitmark";
6582
+ /**
6583
+ * Input is bitmarkText
6584
+ */
6585
+ readonly bitmarkText: "bitmarkText";
6586
+ /**
6587
+ * Input is plain text
6588
+ */
6589
+ readonly plainText: "plainText";
6590
+ };
6591
+ type InputFormatType = EnumType<typeof InputFormat>;
6562
6592
  /**
6563
6593
  * Options for bitmark text JSON generation
6564
6594
  */
@@ -6622,6 +6652,12 @@ declare class BitmarkParserGenerator {
6622
6652
  * - input(JSON/AST) ==> output(bitmark)
6623
6653
  * - input(bitmark) ==> output(JSON)
6624
6654
  *
6655
+ * Output type can be overridden to one of the following:
6656
+ * - bitmark: output bitmark string
6657
+ * - json: output JSON as a plain JS object, or a file
6658
+ * - ast: output AST as a plain JS object, or a file
6659
+ * - text: output plain text as a string, or a file
6660
+ *
6625
6661
  * By default, the result is returned as a string for bitmark, or a plain JS object for JSON/AST.
6626
6662
  *
6627
6663
  * The options can be used to write the output to a file and to set conversion options or override defaults.
@@ -6675,7 +6711,7 @@ declare class BitmarkParserGenerator {
6675
6711
  */
6676
6712
  createAst(input: unknown, options?: CreateAstOptions): BitmarkAst;
6677
6713
  /**
6678
- * Convert bitmark text from JSON, or JSON to bitmark text.
6714
+ * Convert bitmark text to JSON, or JSON to bitmark text.
6679
6715
  *
6680
6716
  * Input type is detected automatically and may be:
6681
6717
  * - string: bitmark text or JSON
@@ -6698,6 +6734,7 @@ declare class BitmarkParserGenerator {
6698
6734
  * @throws Error if any error occurs
6699
6735
  */
6700
6736
  convertText(input: string | unknown, options?: ConvertTextOptions): string | unknown | void;
6737
+ extractPlainText(input: string | unknown, options?: ExtractPlainTextOptions): string;
6701
6738
  /**
6702
6739
  * Breakscape bitmark text.
6703
6740
  *
@@ -6736,6 +6773,7 @@ declare class BitmarkParserGenerator {
6736
6773
  * @throws Error if any error occurs
6737
6774
  */
6738
6775
  unbreakscapeText(input: string, options?: UnbreakscapeOptions): string | void;
6776
+ textAstToPlainText(textAst: TextAst, _options?: ExtractPlainTextOptions): string;
6739
6777
  /**
6740
6778
  * Stringify / prettify a plain JS object to a JSON string, depending on the JSON options
6741
6779
  *
@@ -6902,4 +6940,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
6902
6940
  generateSync(_ast: BitmarkAst): void;
6903
6941
  }
6904
6942
 
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 };
6943
+ 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 };