@drghaliasri/butex 7.0.3 → 7.0.4

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.
@@ -217,6 +217,12 @@ type Document2BlockJson = {
217
217
  cell_inline_ids?: Document2InlineIdsJson[][];
218
218
  columns?: string;
219
219
  caption?: string;
220
+ /** Optional formatting sidecar for caption text spans. */
221
+ caption_formats?: TextFormatSpan2Json[];
222
+ /** Stable caption field/token identities; omitted by legacy documents. */
223
+ caption_inline_ids?: Document2InlineIdsJson;
224
+ /** Caption-only structured math sidecar, independent from table cell math_objects. */
225
+ caption_math_objects?: Array<Document2MathObjectJson | null>;
220
226
  label?: string;
221
227
  caption_enabled?: boolean;
222
228
  label_enabled?: boolean;
@@ -321,7 +327,10 @@ type ListBlock2 = {
321
327
  type FloatMeta2 = {
322
328
  centered: boolean;
323
329
  captionEnabled: boolean;
330
+ /** Compatibility source string; captionField is the structured source of truth. */
324
331
  caption: string;
332
+ /** Stable inline field used by the editor, commands, preview, and persistence. */
333
+ captionField: InlineField2;
325
334
  labelEnabled: boolean;
326
335
  label: string;
327
336
  };
@@ -465,7 +474,10 @@ type PreviewBlock2 = {
465
474
  kind: 'table';
466
475
  id: string;
467
476
  rows: PreviewInline2[][][];
477
+ /** Compatibility source string for hosts that still read caption directly. */
468
478
  caption?: string;
479
+ /** Structured caption rendering path, including MathIsland tokens. */
480
+ captionInlines?: PreviewInline2[];
469
481
  label?: string;
470
482
  numberLabel?: string;
471
483
  metadata?: Document2BlockMetadata;
@@ -476,7 +488,10 @@ type PreviewBlock2 = {
476
488
  assetId?: string;
477
489
  options: Record<string, string>;
478
490
  centered?: boolean;
491
+ /** Compatibility source string for alt text/legacy hosts. */
479
492
  caption?: string;
493
+ /** Structured caption rendering path, including MathIsland tokens. */
494
+ captionInlines?: PreviewInline2[];
480
495
  label?: string;
481
496
  numberLabel?: string;
482
497
  metadata?: Document2BlockMetadata;
@@ -537,9 +552,10 @@ type FloatMetaPatch = {
537
552
  declare function defaultFloatMeta(): {
538
553
  centered: true;
539
554
  captionEnabled: false;
540
- caption: '';
555
+ caption: string;
556
+ captionField: InlineField2;
541
557
  labelEnabled: false;
542
- label: '';
558
+ label: string;
543
559
  };
544
560
  declare function parseFloatMetaFromJson(json: {
545
561
  caption?: string;
@@ -899,6 +915,50 @@ type Document2OutlineEntry = {
899
915
  /** Return a compact top-level outline for a canonical document. */
900
916
  declare function document2Outline(json: Document2Json): Document2OutlineEntry[];
901
917
 
918
+ type Document2CitationIndexEntry = {
919
+ kind: 'cite';
920
+ block_id: string;
921
+ field_id: string;
922
+ token_id: string;
923
+ keys: string[];
924
+ unresolved_keys: string[];
925
+ };
926
+ type Document2CrossReferenceIndexEntry = {
927
+ kind: 'ref';
928
+ ref_command: 'ref' | 'eqref';
929
+ block_id: string;
930
+ field_id: string;
931
+ token_id: string;
932
+ keys: string[];
933
+ unresolved_keys: string[];
934
+ };
935
+ type Document2IndexedLabel = {
936
+ key: string;
937
+ kind: Document2LabelKind;
938
+ caption: string;
939
+ number: number;
940
+ block_id?: string;
941
+ field_id?: string;
942
+ token_id?: string;
943
+ };
944
+ type Document2ReferenceIndex = {
945
+ citations: Document2CitationIndexEntry[];
946
+ cross_references: Document2CrossReferenceIndexEntry[];
947
+ labels: Document2IndexedLabel[];
948
+ unresolved: {
949
+ citation_keys: string[];
950
+ cross_reference_keys: string[];
951
+ };
952
+ };
953
+ /** Return a detached, read-only view of the registered bibliography catalog. */
954
+ declare function getDocument2References(document: Document2Node): Reference2Json[];
955
+ /**
956
+ * Return semantic citation, cross-reference, and label relationships without
957
+ * changing the document. Entries follow document/token order and preserve the
958
+ * stable IDs already present in the live Document2 node.
959
+ */
960
+ declare function getDocument2ReferenceIndex(document: Document2Node): Document2ReferenceIndex;
961
+
902
962
  type Document2KeyError = 'empty' | 'invalid' | 'duplicate';
903
963
  /** NFC-normalize and trim a document key (label or bibliography). */
904
964
  declare function normalizeDocument2Key(key: string): string;
@@ -1063,4 +1123,4 @@ declare function document2Preview(document: Document2Node, output?: Document2Mat
1063
1123
  */
1064
1124
  declare function document2Latex(document: Document2Node, options?: Document2LatexOptions): string;
1065
1125
 
1066
- export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Anchor, type Document2Block, type Document2BlockJson, type Document2BlockMetadata, type Document2Command, Document2CommandError, type Document2CommandErrorCode, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2ImageAssetRef, type Document2InlineAnchor, type Document2InlineIdsJson, type Document2InlineTokenIdJson, type Document2InlineTokenInput, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2ListItemAnchor, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2OutlineEntry, type Document2OutlineKind, type Document2Preview, type Document2PreviewOptions, type Document2ReferenceAnchor, type Document2TextBlockKind, Document2ValidationError, type Document2ValidationIssue, type Document2ValidationIssueCode, type Document2ValidationResult, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type ListItem2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyDocument2Command, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, butexMaghribiDisplayLatex, butexMaghribiDisplayTex, citeTokenLatex, clearDocument2ImageAsset, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Outline, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hasXeLatexUnsupportedEmoji, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDocument2Valid, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageAsset, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken, validateDocument2 };
1126
+ export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Anchor, type Document2Block, type Document2BlockJson, type Document2BlockMetadata, type Document2CitationIndexEntry, type Document2Command, Document2CommandError, type Document2CommandErrorCode, type Document2CrossReferenceIndexEntry, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2ImageAssetRef, type Document2IndexedLabel, type Document2InlineAnchor, type Document2InlineIdsJson, type Document2InlineTokenIdJson, type Document2InlineTokenInput, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2ListItemAnchor, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2OutlineEntry, type Document2OutlineKind, type Document2Preview, type Document2PreviewOptions, type Document2ReferenceAnchor, type Document2ReferenceIndex, type Document2TextBlockKind, Document2ValidationError, type Document2ValidationIssue, type Document2ValidationIssueCode, type Document2ValidationResult, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type ListItem2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyDocument2Command, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, butexMaghribiDisplayLatex, butexMaghribiDisplayTex, citeTokenLatex, clearDocument2ImageAsset, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Outline, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, getDocument2ReferenceIndex, getDocument2References, hasXeLatexUnsupportedEmoji, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDocument2Valid, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageAsset, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken, validateDocument2 };
@@ -217,6 +217,12 @@ type Document2BlockJson = {
217
217
  cell_inline_ids?: Document2InlineIdsJson[][];
218
218
  columns?: string;
219
219
  caption?: string;
220
+ /** Optional formatting sidecar for caption text spans. */
221
+ caption_formats?: TextFormatSpan2Json[];
222
+ /** Stable caption field/token identities; omitted by legacy documents. */
223
+ caption_inline_ids?: Document2InlineIdsJson;
224
+ /** Caption-only structured math sidecar, independent from table cell math_objects. */
225
+ caption_math_objects?: Array<Document2MathObjectJson | null>;
220
226
  label?: string;
221
227
  caption_enabled?: boolean;
222
228
  label_enabled?: boolean;
@@ -321,7 +327,10 @@ type ListBlock2 = {
321
327
  type FloatMeta2 = {
322
328
  centered: boolean;
323
329
  captionEnabled: boolean;
330
+ /** Compatibility source string; captionField is the structured source of truth. */
324
331
  caption: string;
332
+ /** Stable inline field used by the editor, commands, preview, and persistence. */
333
+ captionField: InlineField2;
325
334
  labelEnabled: boolean;
326
335
  label: string;
327
336
  };
@@ -465,7 +474,10 @@ type PreviewBlock2 = {
465
474
  kind: 'table';
466
475
  id: string;
467
476
  rows: PreviewInline2[][][];
477
+ /** Compatibility source string for hosts that still read caption directly. */
468
478
  caption?: string;
479
+ /** Structured caption rendering path, including MathIsland tokens. */
480
+ captionInlines?: PreviewInline2[];
469
481
  label?: string;
470
482
  numberLabel?: string;
471
483
  metadata?: Document2BlockMetadata;
@@ -476,7 +488,10 @@ type PreviewBlock2 = {
476
488
  assetId?: string;
477
489
  options: Record<string, string>;
478
490
  centered?: boolean;
491
+ /** Compatibility source string for alt text/legacy hosts. */
479
492
  caption?: string;
493
+ /** Structured caption rendering path, including MathIsland tokens. */
494
+ captionInlines?: PreviewInline2[];
480
495
  label?: string;
481
496
  numberLabel?: string;
482
497
  metadata?: Document2BlockMetadata;
@@ -537,9 +552,10 @@ type FloatMetaPatch = {
537
552
  declare function defaultFloatMeta(): {
538
553
  centered: true;
539
554
  captionEnabled: false;
540
- caption: '';
555
+ caption: string;
556
+ captionField: InlineField2;
541
557
  labelEnabled: false;
542
- label: '';
558
+ label: string;
543
559
  };
544
560
  declare function parseFloatMetaFromJson(json: {
545
561
  caption?: string;
@@ -899,6 +915,50 @@ type Document2OutlineEntry = {
899
915
  /** Return a compact top-level outline for a canonical document. */
900
916
  declare function document2Outline(json: Document2Json): Document2OutlineEntry[];
901
917
 
918
+ type Document2CitationIndexEntry = {
919
+ kind: 'cite';
920
+ block_id: string;
921
+ field_id: string;
922
+ token_id: string;
923
+ keys: string[];
924
+ unresolved_keys: string[];
925
+ };
926
+ type Document2CrossReferenceIndexEntry = {
927
+ kind: 'ref';
928
+ ref_command: 'ref' | 'eqref';
929
+ block_id: string;
930
+ field_id: string;
931
+ token_id: string;
932
+ keys: string[];
933
+ unresolved_keys: string[];
934
+ };
935
+ type Document2IndexedLabel = {
936
+ key: string;
937
+ kind: Document2LabelKind;
938
+ caption: string;
939
+ number: number;
940
+ block_id?: string;
941
+ field_id?: string;
942
+ token_id?: string;
943
+ };
944
+ type Document2ReferenceIndex = {
945
+ citations: Document2CitationIndexEntry[];
946
+ cross_references: Document2CrossReferenceIndexEntry[];
947
+ labels: Document2IndexedLabel[];
948
+ unresolved: {
949
+ citation_keys: string[];
950
+ cross_reference_keys: string[];
951
+ };
952
+ };
953
+ /** Return a detached, read-only view of the registered bibliography catalog. */
954
+ declare function getDocument2References(document: Document2Node): Reference2Json[];
955
+ /**
956
+ * Return semantic citation, cross-reference, and label relationships without
957
+ * changing the document. Entries follow document/token order and preserve the
958
+ * stable IDs already present in the live Document2 node.
959
+ */
960
+ declare function getDocument2ReferenceIndex(document: Document2Node): Document2ReferenceIndex;
961
+
902
962
  type Document2KeyError = 'empty' | 'invalid' | 'duplicate';
903
963
  /** NFC-normalize and trim a document key (label or bibliography). */
904
964
  declare function normalizeDocument2Key(key: string): string;
@@ -1063,4 +1123,4 @@ declare function document2Preview(document: Document2Node, output?: Document2Mat
1063
1123
  */
1064
1124
  declare function document2Latex(document: Document2Node, options?: Document2LatexOptions): string;
1065
1125
 
1066
- export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Anchor, type Document2Block, type Document2BlockJson, type Document2BlockMetadata, type Document2Command, Document2CommandError, type Document2CommandErrorCode, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2ImageAssetRef, type Document2InlineAnchor, type Document2InlineIdsJson, type Document2InlineTokenIdJson, type Document2InlineTokenInput, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2ListItemAnchor, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2OutlineEntry, type Document2OutlineKind, type Document2Preview, type Document2PreviewOptions, type Document2ReferenceAnchor, type Document2TextBlockKind, Document2ValidationError, type Document2ValidationIssue, type Document2ValidationIssueCode, type Document2ValidationResult, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type ListItem2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyDocument2Command, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, butexMaghribiDisplayLatex, butexMaghribiDisplayTex, citeTokenLatex, clearDocument2ImageAsset, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Outline, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hasXeLatexUnsupportedEmoji, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDocument2Valid, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageAsset, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken, validateDocument2 };
1126
+ export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Anchor, type Document2Block, type Document2BlockJson, type Document2BlockMetadata, type Document2CitationIndexEntry, type Document2Command, Document2CommandError, type Document2CommandErrorCode, type Document2CrossReferenceIndexEntry, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2ImageAssetRef, type Document2IndexedLabel, type Document2InlineAnchor, type Document2InlineIdsJson, type Document2InlineTokenIdJson, type Document2InlineTokenInput, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2ListItemAnchor, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2OutlineEntry, type Document2OutlineKind, type Document2Preview, type Document2PreviewOptions, type Document2ReferenceAnchor, type Document2ReferenceIndex, type Document2TextBlockKind, Document2ValidationError, type Document2ValidationIssue, type Document2ValidationIssueCode, type Document2ValidationResult, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type ListItem2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyDocument2Command, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, butexMaghribiDisplayLatex, butexMaghribiDisplayTex, citeTokenLatex, clearDocument2ImageAsset, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Outline, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, getDocument2ReferenceIndex, getDocument2References, hasXeLatexUnsupportedEmoji, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDocument2Valid, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageAsset, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken, validateDocument2 };