@gmb/bitmark-parser-generator 5.21.0 → 5.23.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.
@@ -269,6 +269,7 @@ declare const BitType: {
269
269
  readonly footNote: "foot-note";
270
270
  readonly formFreeText: "form-free-text";
271
271
  readonly formula: "formula";
272
+ readonly formulaImage: "formula-image";
272
273
  readonly gapText: "gap-text";
273
274
  readonly gapTextInstructionGrouped: "gap-text-instruction-grouped";
274
275
  readonly glossaryTerm: "glossary-term";
@@ -624,6 +625,7 @@ declare const BitType: {
624
625
  readonly vendorPadletEmbed: "vendor-padlet-embed";
625
626
  readonly vendorStripePricingTable: "vendor-stripe-pricing-table";
626
627
  readonly vendorStripePricingTableExternal: "vendor-stripe-pricing-table-external";
628
+ readonly vendorStripePricingTablePrintOnRequest: "vendor-stripe-pricing-table-print-on-request";
627
629
  readonly video: "video";
628
630
  readonly videoEmbed: "video-embed";
629
631
  readonly videoEmbedLandscape: "video-embed-landscape";
@@ -817,6 +819,7 @@ declare const ConfigKey: {
817
819
  readonly property_formula: "@formula";
818
820
  readonly property_fullName: "@fullName";
819
821
  readonly property_groupTag: "@groupTag";
822
+ readonly property_gUri: "@gUri";
820
823
  readonly property_handInAcceptFileType: "@handInAcceptFileType";
821
824
  readonly property_handInInstruction: "@handInInstruction";
822
825
  readonly property_handInRequirement: "@handInRequirement";
@@ -875,6 +878,8 @@ declare const ConfigKey: {
875
878
  readonly property_padletId: "@padletId";
876
879
  readonly property_page: "@page";
877
880
  readonly property_printParentChapterLevel: "@printParentChapterLevel";
881
+ readonly property_printOnRequestCustomerId: "@printOnRequestCustomerId";
882
+ readonly property_printOnRequestProductId: "@printOnRequestProductId";
878
883
  readonly property_pageNo: "@pageNo";
879
884
  readonly property_partialAnswer: "@partialAnswer";
880
885
  readonly property_partner: "@partner";
@@ -949,6 +954,7 @@ declare const ConfigKey: {
949
954
  readonly property_siteName: "@siteName";
950
955
  readonly property_size: "@size";
951
956
  readonly property_slug: "@slug";
957
+ readonly property_sourceBB: "@sourceBB";
952
958
  readonly property_sourceDocument: "@sourceDocument";
953
959
  readonly property_sourceRL: "@sourceRL";
954
960
  readonly property_spaceId: "@spaceId";
@@ -1644,6 +1650,7 @@ interface BitJson {
1644
1650
  bitLevel: number;
1645
1651
  format: string;
1646
1652
  id: string | string[];
1653
+ gUri: string;
1647
1654
  internalComment: string | string[];
1648
1655
  customerId: string;
1649
1656
  customerExternalId: string | string[];
@@ -1694,6 +1701,7 @@ interface BitJson {
1694
1701
  bubbleTag: string | string[];
1695
1702
  extractorTag: string | string[];
1696
1703
  extractorInternal: string | string[];
1704
+ sourceBB?: number[] | number[][];
1697
1705
  levelCEFRp: string;
1698
1706
  levelCEFR: string;
1699
1707
  levelILR: string;
@@ -1833,6 +1841,8 @@ interface BitJson {
1833
1841
  maxTocChapterLevel: number;
1834
1842
  allowPrint: string;
1835
1843
  printParentChapterLevel: number;
1844
+ printOnRequestCustomerId: string;
1845
+ printOnRequestProductId: string;
1836
1846
  sourceDocument: string;
1837
1847
  internalPrintPdf: string;
1838
1848
  hasPrintRestriction: boolean;
@@ -2122,6 +2132,7 @@ interface PronunciationTableJson {
2122
2132
  data: PronunciationTableCellJson[][];
2123
2133
  }
2124
2134
  interface TableJson {
2135
+ columnWidths?: (number | null)[];
2125
2136
  columns: JsonText[];
2126
2137
  data: JsonText[][];
2127
2138
  }
@@ -2254,6 +2265,7 @@ interface Bit {
2254
2265
  resourceType?: ResourceTypeType;
2255
2266
  isCommented?: boolean;
2256
2267
  id?: Property;
2268
+ gUri?: Property;
2257
2269
  internalComment?: Property;
2258
2270
  customerId?: Property;
2259
2271
  customerExternalId?: Property;
@@ -2309,6 +2321,7 @@ interface Bit {
2309
2321
  bubbleTag?: Property;
2310
2322
  extractorTag?: Property;
2311
2323
  extractorInternal?: Property;
2324
+ sourceBB?: number[][];
2312
2325
  levelCEFRp?: Property;
2313
2326
  levelCEFR?: Property;
2314
2327
  levelILR?: Property;
@@ -2466,6 +2479,8 @@ interface Bit {
2466
2479
  allowPrint?: Property;
2467
2480
  allowPrintValue?: Property;
2468
2481
  printParentChapterLevel?: Property;
2482
+ printOnRequestCustomerId?: Property;
2483
+ printOnRequestProductId?: Property;
2469
2484
  platformBrandTarget?: Property;
2470
2485
  platformName?: Property;
2471
2486
  platformIcon?: ImageResourceWrapperJson;
@@ -2832,6 +2847,8 @@ declare const NodeType: {
2832
2847
  readonly gmbExternalShopItems: "gmbExternalShopItems";
2833
2848
  readonly groupTag: "groupTag";
2834
2849
  readonly groupTagValue: "groupTagValue";
2850
+ readonly gUri: "gUri";
2851
+ readonly gUriValue: "gUriValue";
2835
2852
  readonly handInAcceptFileType: "handInAcceptFileType";
2836
2853
  readonly handInAcceptFileTypeValue: "handInAcceptFileTypeValue";
2837
2854
  readonly handInInstruction: "handInInstruction";
@@ -3052,6 +3069,10 @@ declare const NodeType: {
3052
3069
  readonly previewVideoValue: "previewVideoValue";
3053
3070
  readonly printParentChapterLevel: "printParentChapterLevel";
3054
3071
  readonly printParentChapterLevelValue: "printParentChapterLevelValue";
3072
+ readonly printOnRequestCustomerId: "printOnRequestCustomerId";
3073
+ readonly printOnRequestCustomerIdValue: "printOnRequestCustomerIdValue";
3074
+ readonly printOnRequestProductId: "printOnRequestProductId";
3075
+ readonly printOnRequestProductIdValue: "printOnRequestProductIdValue";
3055
3076
  readonly processHandIn: "processHandIn";
3056
3077
  readonly processHandInLocation: "processHandInLocation";
3057
3078
  readonly processHandInLocationValue: "processHandInLocationValue";
@@ -3168,6 +3189,8 @@ declare const NodeType: {
3168
3189
  readonly solution: "solution";
3169
3190
  readonly solutions: "solutions";
3170
3191
  readonly solutionsValue: "solutionsValue";
3192
+ readonly sourceBB: "sourceBB";
3193
+ readonly sourceBBValue: "sourceBBValue";
3171
3194
  readonly sourceDocument: "sourceDocument";
3172
3195
  readonly sourceDocumentValue: "sourceDocumentValue";
3173
3196
  readonly sourceRL: "sourceRL";
@@ -3777,6 +3800,57 @@ declare const Tag: {
3777
3800
  };
3778
3801
  type TagType = EnumType<typeof Tag>;
3779
3802
 
3803
+ declare const TagFormat: {
3804
+ readonly none: "none";
3805
+ readonly plainText: "plainText";
3806
+ readonly bitmarkText: "bitmarkText";
3807
+ readonly number: "number";
3808
+ readonly boolean: "boolean";
3809
+ readonly invertedBoolean: "invertedBoolean";
3810
+ readonly enumeration: "enumeration";
3811
+ readonly coordinates: "coordinates";
3812
+ };
3813
+ type TagFormatType = EnumType<typeof TagFormat>;
3814
+
3815
+ declare const CardSetConfigKey: {
3816
+ readonly flashcard: "flashcard";
3817
+ readonly definitionList: "definitionList";
3818
+ readonly elements: "elements";
3819
+ readonly statements: "statements";
3820
+ readonly quiz: "quiz";
3821
+ readonly feedback: "feedback";
3822
+ readonly questions: "questions";
3823
+ readonly matchPairs: "matchPairs";
3824
+ readonly matchAudioPairs: "matchAudioPairs";
3825
+ readonly matchImagePairs: "matchImagePairs";
3826
+ readonly matchMatrix: "matchMatrix";
3827
+ readonly table: "table";
3828
+ readonly tableExtended: "tableExtended";
3829
+ readonly pronunciationTable: "pronunciationTable";
3830
+ readonly botActionResponses: "botActionResponses";
3831
+ readonly exampleBitList: "exampleBitList";
3832
+ readonly clozeList: "clozeList";
3833
+ readonly ingredients: "ingredients";
3834
+ readonly bookReferenceList: "bookReferenceList";
3835
+ };
3836
+ type CardSetConfigKeyType = EnumType<typeof CardSetConfigKey>;
3837
+
3838
+ /**
3839
+ * Type definitions for the raw configuration data.
3840
+ *
3841
+ */
3842
+
3843
+ /**
3844
+ * JSON-pattern value for the new (export) jsonKey form. See specs/JSONKEY_SYNTAX.md.
3845
+ *
3846
+ * Stored verbatim in the raw configs and emitted under the field name `jsonKey`
3847
+ * when writing assets/config/**\/*.jsonc. Pattern-language validation (sigils,
3848
+ * scope-shifts, predicates) lives in the new parser's compiler, not here.
3849
+ */
3850
+ type ExportJsonKey = null | boolean | number | string | ExportJsonKey[] | {
3851
+ [k: string]: ExportJsonKey;
3852
+ };
3853
+
3780
3854
  declare abstract class AbstractTagConfig {
3781
3855
  readonly type: BitTagConfigKeyTypeType;
3782
3856
  readonly configKey: ConfigKeyType;
@@ -3785,6 +3859,8 @@ declare abstract class AbstractTagConfig {
3785
3859
  readonly minCount: number;
3786
3860
  readonly chain?: TagsConfig;
3787
3861
  readonly jsonKey?: string;
3862
+ readonly exportJsonKey?: ExportJsonKey;
3863
+ readonly hasExportJsonKey: boolean;
3788
3864
  readonly deprecated?: string;
3789
3865
  constructor(params: {
3790
3866
  type: BitTagConfigKeyTypeType;
@@ -3794,6 +3870,8 @@ declare abstract class AbstractTagConfig {
3794
3870
  minCount: number;
3795
3871
  chain: TagsConfig | undefined;
3796
3872
  jsonKey: string | undefined;
3873
+ exportJsonKey: ExportJsonKey | undefined;
3874
+ hasExportJsonKey: boolean;
3797
3875
  deprecated: string | undefined;
3798
3876
  });
3799
3877
  }
@@ -3810,22 +3888,14 @@ declare class MarkupTagConfig extends AbstractTagConfig {
3810
3888
  maxCount: CountType;
3811
3889
  minCount: number;
3812
3890
  chain: TagsConfig | undefined;
3891
+ jsonKey: string | undefined;
3892
+ exportJsonKey: ExportJsonKey | undefined;
3893
+ hasExportJsonKey: boolean;
3813
3894
  deprecated: string | undefined;
3814
3895
  });
3815
3896
  toString(options?: ToStringOptions$6): string;
3816
3897
  }
3817
3898
 
3818
- declare const TagFormat: {
3819
- readonly none: "none";
3820
- readonly plainText: "plainText";
3821
- readonly bitmarkText: "bitmarkText";
3822
- readonly number: "number";
3823
- readonly boolean: "boolean";
3824
- readonly invertedBoolean: "invertedBoolean";
3825
- readonly enumeration: "enumeration";
3826
- };
3827
- type TagFormatType = EnumType<typeof TagFormat>;
3828
-
3829
3899
  interface ToStringOptions$5 {
3830
3900
  includeChains?: boolean;
3831
3901
  includeConfigs?: boolean;
@@ -3843,6 +3913,8 @@ declare class PropertyTagConfig extends AbstractTagConfig {
3843
3913
  minCount: number;
3844
3914
  chain: TagsConfig | undefined;
3845
3915
  jsonKey: string | undefined;
3916
+ exportJsonKey: ExportJsonKey | undefined;
3917
+ hasExportJsonKey: boolean;
3846
3918
  format: TagFormatType | undefined;
3847
3919
  values: string[] | undefined;
3848
3920
  defaultValue: string | undefined;
@@ -3864,6 +3936,8 @@ declare class ResourceTagConfig extends AbstractTagConfig {
3864
3936
  minCount: number;
3865
3937
  chain: TagsConfig | undefined;
3866
3938
  jsonKey: string | undefined;
3939
+ exportJsonKey: ExportJsonKey | undefined;
3940
+ hasExportJsonKey: boolean;
3867
3941
  deprecated: string | undefined;
3868
3942
  });
3869
3943
  toString(options?: ToStringOptions$4): string;
@@ -3885,7 +3959,10 @@ declare class CardVariantConfig {
3885
3959
  bodyRequired?: boolean;
3886
3960
  repeatCount?: CountType;
3887
3961
  readonly jsonKey?: string | null;
3888
- constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null);
3962
+ readonly exportJsonKey?: ExportJsonKey;
3963
+ readonly hasExportJsonKey: boolean;
3964
+ readonly format?: TextFormatType;
3965
+ constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null, exportJsonKey?: ExportJsonKey, hasExportJsonKey?: boolean, format?: TextFormatType);
3889
3966
  toString(options?: ToStringOptions$3): string;
3890
3967
  }
3891
3968
 
@@ -3897,53 +3974,35 @@ declare class CardSideConfig {
3897
3974
  readonly name: string;
3898
3975
  readonly repeat: boolean;
3899
3976
  readonly jsonKey: string | null | undefined;
3977
+ readonly exportJsonKey?: ExportJsonKey;
3978
+ readonly hasExportJsonKey: boolean;
3900
3979
  readonly variants: CardVariantConfig[];
3901
- constructor(name: string, repeat: boolean, variants: CardVariantConfig[], jsonKey?: string | null);
3980
+ constructor(name: string, repeat: boolean, variants: CardVariantConfig[], jsonKey?: string | null, exportJsonKey?: ExportJsonKey, hasExportJsonKey?: boolean);
3902
3981
  toString(options?: ToStringOptions$2): string;
3903
3982
  }
3904
3983
 
3905
- declare const CardSetConfigKey: {
3906
- readonly flashcard: "flashcard";
3907
- readonly definitionList: "definitionList";
3908
- readonly elements: "elements";
3909
- readonly statements: "statements";
3910
- readonly quiz: "quiz";
3911
- readonly feedback: "feedback";
3912
- readonly questions: "questions";
3913
- readonly matchPairs: "matchPairs";
3914
- readonly matchAudioPairs: "matchAudioPairs";
3915
- readonly matchImagePairs: "matchImagePairs";
3916
- readonly matchMatrix: "matchMatrix";
3917
- readonly table: "table";
3918
- readonly tableExtended: "tableExtended";
3919
- readonly pronunciationTable: "pronunciationTable";
3920
- readonly botActionResponses: "botActionResponses";
3921
- readonly exampleBitList: "exampleBitList";
3922
- readonly clozeList: "clozeList";
3923
- readonly ingredients: "ingredients";
3924
- readonly bookReferenceList: "bookReferenceList";
3925
- };
3926
- type CardSetConfigKeyType = EnumType<typeof CardSetConfigKey>;
3927
-
3928
3984
  interface ToStringOptions$1 {
3929
3985
  includeChains?: boolean;
3930
3986
  includeConfigs?: boolean;
3931
3987
  }
3988
+ interface CardSetSection {
3989
+ jsonKey: string;
3990
+ exportJsonKey?: ExportJsonKey;
3991
+ hasExportJsonKey?: boolean;
3992
+ isDefault?: boolean;
3993
+ sideJsonKey?: string;
3994
+ sideExportJsonKey?: ExportJsonKey;
3995
+ hasSideExportJsonKey?: boolean;
3996
+ }
3932
3997
  declare class CardSetConfig {
3933
3998
  readonly configKey: CardSetConfigKeyType;
3934
3999
  readonly jsonKey: string | null;
3935
- readonly sections: Record<string, {
3936
- jsonKey: string;
3937
- isDefault?: boolean;
3938
- sideJsonKey?: string;
3939
- }> | undefined;
4000
+ readonly exportJsonKey?: ExportJsonKey;
4001
+ readonly hasExportJsonKey: boolean;
4002
+ readonly sections: Record<string, CardSetSection> | undefined;
3940
4003
  readonly sides: CardSideConfig[];
3941
4004
  get variants(): CardVariantConfig[][];
3942
- constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, sections: Record<string, {
3943
- jsonKey: string;
3944
- isDefault?: boolean;
3945
- sideJsonKey?: string;
3946
- }> | undefined, sides: CardSideConfig[]);
4005
+ constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, exportJsonKey: ExportJsonKey | undefined, hasExportJsonKey: boolean, sections: Record<string, CardSetSection> | undefined, sides: CardSideConfig[]);
3947
4006
  toString(options?: ToStringOptions$1): string;
3948
4007
  }
3949
4008
 
@@ -4132,6 +4191,7 @@ declare class Builder extends BaseBuilder {
4132
4191
  resourceType?: ResourceTypeType;
4133
4192
  isCommented?: boolean;
4134
4193
  id?: string | string[];
4194
+ gUri?: string;
4135
4195
  internalComment?: string | string[];
4136
4196
  customerId?: string;
4137
4197
  customerExternalId?: string | string[];
@@ -4187,6 +4247,7 @@ declare class Builder extends BaseBuilder {
4187
4247
  bubbleTag?: string | string[];
4188
4248
  extractorTag?: string | string[];
4189
4249
  extractorInternal?: string | string[];
4250
+ sourceBB?: number[] | number[][];
4190
4251
  levelCEFRp?: string | string[];
4191
4252
  levelCEFR?: string | string[];
4192
4253
  levelILR?: string | string[];
@@ -4337,6 +4398,8 @@ declare class Builder extends BaseBuilder {
4337
4398
  tocContent?: string | string[];
4338
4399
  page?: string | string[];
4339
4400
  printParentChapterLevel?: number;
4401
+ printOnRequestCustomerId?: string;
4402
+ printOnRequestProductId?: string;
4340
4403
  platformBrandTarget?: string;
4341
4404
  platformName?: string;
4342
4405
  platformIcon?: Partial<ImageResourceWrapperJson>;
@@ -4447,6 +4510,11 @@ declare class Builder extends BaseBuilder {
4447
4510
  * @returns
4448
4511
  */
4449
4512
  protected buildGroupTags(context: BuildContext, data: Partial<GroupTagJson> | Partial<GroupTagJson>[] | undefined): GroupTagJson[] | undefined;
4513
+ /**
4514
+ * Normalise a sourceBB input into the AST shape (always number[][]).
4515
+ * Accepts a single 4-number tuple or an array of tuples; returns undefined when empty.
4516
+ */
4517
+ protected normaliseSourceBB(data: number[] | number[][] | undefined): number[][] | undefined;
4450
4518
  /**
4451
4519
  * Build groupTag node
4452
4520
  *
@@ -5538,6 +5606,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
5538
5606
  protected enter_sampleSolution(node: NodeInfo, route: NodeInfo[]): boolean;
5539
5607
  protected leaf_sampleSolution(node: NodeInfo, route: NodeInfo[]): boolean;
5540
5608
  protected leaf_reasonableNumOfChars(node: NodeInfo, route: NodeInfo[]): void;
5609
+ protected enter_sourceBB(node: NodeInfo, route: NodeInfo[]): boolean;
5541
5610
  protected leaf_additionalSolutionsValue(node: NodeInfo, route: NodeInfo[]): void;
5542
5611
  protected enter_item(node: NodeInfo, route: NodeInfo[]): boolean;
5543
5612
  protected enter_lead(node: NodeInfo, route: NodeInfo[]): boolean;
@@ -5949,6 +6018,7 @@ declare class JsonGenerator extends AstWalkerGenerator<BitmarkAst, void> {
5949
6018
  protected enter_person(node: NodeInfo, route: NodeInfo[]): boolean;
5950
6019
  protected enter_ratingLevelStart(node: NodeInfo, route: NodeInfo[]): boolean;
5951
6020
  protected enter_ratingLevelEnd(node: NodeInfo, route: NodeInfo[]): boolean;
6021
+ protected enter_sourceBB(node: NodeInfo, route: NodeInfo[]): boolean;
5952
6022
  protected enter_productId(node: NodeInfo, route: NodeInfo[]): boolean;
5953
6023
  protected enter_markConfig(_node: NodeInfo, _route: NodeInfo[]): boolean;
5954
6024
  protected enter_markConfigValue(node: NodeInfo, route: NodeInfo[]): boolean;
@@ -6872,6 +6942,63 @@ declare class JsonStringGenerator implements Generator<BitmarkAst, string> {
6872
6942
  generateSync(ast: BitmarkAst): string;
6873
6943
  }
6874
6944
 
6945
+ /** Axis-aligned bounding box: `[x0, y0, x1, y1]` (top-left + bottom-right). */
6946
+ type Bbox = [number, number, number, number];
6947
+ interface BoundingBoxEntry {
6948
+ bit: BitJson;
6949
+ wrapper: BitWrapperJson;
6950
+ /** Normalized list of boxes parsed from `bit.sourceBB` (always at least one). */
6951
+ boxes: Bbox[];
6952
+ }
6953
+ interface FromBitsOptions {
6954
+ /**
6955
+ * If provided, only include bits whose `bit.sourceRL` exactly equals this
6956
+ * value. Bits with no `sourceRL` are excluded.
6957
+ */
6958
+ sourceRL?: string;
6959
+ }
6960
+ /**
6961
+ * Index over a list of bits with `@sourceBB` tags, designed for live region
6962
+ * selection in a browser (e.g. the user drags a box and the preview updates
6963
+ * as they go). Each bit's `sourceBB` is parsed once at construction so that
6964
+ * intersection queries are pure bounding-box scans on the hot path.
6965
+ */
6966
+ declare class BoundingBoxIndex {
6967
+ private readonly _entries;
6968
+ private readonly bitmarkParser;
6969
+ private constructor();
6970
+ /**
6971
+ * Build an index from already-parsed bits. Bits without a parseable
6972
+ * `sourceBB` are dropped. Order of the input is preserved.
6973
+ *
6974
+ * Pass `options.sourceRL` to scope the index to a single source page —
6975
+ * bits whose `sourceRL` doesn't match (or is absent) are excluded.
6976
+ */
6977
+ static fromBits(wrappers: BitWrapperJson[], options?: FromBitsOptions): BoundingBoxIndex;
6978
+ /** All bits with at least one valid `sourceBB`, in input order. */
6979
+ get entries(): ReadonlyArray<BoundingBoxEntry>;
6980
+ /**
6981
+ * Bits whose ANY `sourceBB` box intersects `query` (strict overlap —
6982
+ * touching-only edges do NOT count as an intersection).
6983
+ */
6984
+ intersecting(query: Bbox): BoundingBoxEntry[];
6985
+ /**
6986
+ * Flat list of every individual `sourceBB` box that intersects `query`.
6987
+ * For a multi-box bit, only the boxes that themselves intersected are
6988
+ * returned.
6989
+ */
6990
+ intersectingBoxes(query: Bbox): Bbox[];
6991
+ /**
6992
+ * Smallest axis-aligned box that fully encloses every individual `sourceBB`
6993
+ * box that intersected the query. For a multi-box bit, only the boxes that
6994
+ * themselves intersected contribute to the union — non-intersecting boxes
6995
+ * from the same bit are ignored. Returns `null` if no box matches.
6996
+ */
6997
+ enclosingBoundingBox(query: Bbox): Bbox | null;
6998
+ /** Render selected bits back to bitmark text. Empty input returns `''`. */
6999
+ toBitmark(entries: BoundingBoxEntry[]): string;
7000
+ }
7001
+
6875
7002
  interface ParseOptions {
6876
7003
  startRule?: string;
6877
7004
  }
@@ -6967,4 +7094,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
6967
7094
  generateSync(_ast: BitmarkAst): void;
6968
7095
  }
6969
7096
 
6970
- 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 };
7097
+ 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 Bbox, 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 BoundingBoxEntry, BoundingBoxIndex, 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 FromBitsOptions, 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 };