@effected/markdown 0.8.1 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +127 -127
  2. package/package.json +5 -5
package/index.d.ts CHANGED
@@ -15,7 +15,7 @@ declare const Point_base: Schema.Class<Point, Schema.Struct<{
15
15
  *
16
16
  * @public
17
17
  */
18
- declare class Point extends Point_base {}
18
+ export declare class Point extends Point_base {}
19
19
  declare const Position_base: Schema.Class<Position, Schema.Struct<{
20
20
  readonly start: typeof Point;
21
21
  readonly end: typeof Point;
@@ -25,7 +25,7 @@ declare const Position_base: Schema.Class<Position, Schema.Struct<{
25
25
  *
26
26
  * @public
27
27
  */
28
- declare class Position extends Position_base {
28
+ export declare class Position extends Position_base {
29
29
  /**
30
30
  * The zero-width synthetic position: line 1, column 1, offset 0 at both
31
31
  * ends — the span every node class's `make` fills in when `position` is
@@ -49,124 +49,124 @@ declare class Position extends Position_base {
49
49
  *
50
50
  * @public
51
51
  */
52
- declare const ReferenceType: Schema.Literals<readonly ["shortcut", "collapsed", "full"]>;
52
+ export declare const ReferenceType: Schema.Literals<readonly ["shortcut", "collapsed", "full"]>;
53
53
  /**
54
54
  * The union of all reference-type string literals.
55
55
  *
56
56
  * @public
57
57
  */
58
- type ReferenceType = typeof ReferenceType.Type;
58
+ export type ReferenceType = typeof ReferenceType.Type;
59
59
  /**
60
60
  * The two ways CommonMark spells a heading: `atx` (`# Title`) and `setext`
61
61
  * (a title underlined with `=` or `-`).
62
62
  *
63
63
  * @public
64
64
  */
65
- declare const HeadingStyle: Schema.Literals<readonly ["atx", "setext"]>;
65
+ export declare const HeadingStyle: Schema.Literals<readonly ["atx", "setext"]>;
66
66
  /**
67
67
  * The union of all heading-style string literals.
68
68
  *
69
69
  * @public
70
70
  */
71
- type HeadingStyle = typeof HeadingStyle.Type;
71
+ export type HeadingStyle = typeof HeadingStyle.Type;
72
72
  /**
73
73
  * The two ways CommonMark spells a hard line break: a trailing backslash or
74
74
  * two-or-more trailing spaces.
75
75
  *
76
76
  * @public
77
77
  */
78
- declare const BreakStyle: Schema.Literals<readonly ["backslash", "spaces"]>;
78
+ export declare const BreakStyle: Schema.Literals<readonly ["backslash", "spaces"]>;
79
79
  /**
80
80
  * The union of all break-style string literals.
81
81
  *
82
82
  * @public
83
83
  */
84
- type BreakStyle = typeof BreakStyle.Type;
84
+ export type BreakStyle = typeof BreakStyle.Type;
85
85
  /**
86
86
  * The two fence characters a fenced code block may use.
87
87
  *
88
88
  * @public
89
89
  */
90
- declare const FenceChar: Schema.Literals<readonly ["`", "~"]>;
90
+ export declare const FenceChar: Schema.Literals<readonly ["`", "~"]>;
91
91
  /**
92
92
  * The union of all fence-character literals.
93
93
  *
94
94
  * @public
95
95
  */
96
- type FenceChar = typeof FenceChar.Type;
96
+ export type FenceChar = typeof FenceChar.Type;
97
97
  /**
98
98
  * The three bullet characters an unordered list may use.
99
99
  *
100
100
  * @public
101
101
  */
102
- declare const BulletChar: Schema.Literals<readonly ["-", "*", "+"]>;
102
+ export declare const BulletChar: Schema.Literals<readonly ["-", "*", "+"]>;
103
103
  /**
104
104
  * The union of all bullet-character literals.
105
105
  *
106
106
  * @public
107
107
  */
108
- type BulletChar = typeof BulletChar.Type;
108
+ export type BulletChar = typeof BulletChar.Type;
109
109
  /**
110
110
  * The two delimiters an ordered list marker may use (`1.` or `1)`).
111
111
  *
112
112
  * @public
113
113
  */
114
- declare const ListDelimiter: Schema.Literals<readonly [".", ")"]>;
114
+ export declare const ListDelimiter: Schema.Literals<readonly [".", ")"]>;
115
115
  /**
116
116
  * The union of all ordered-list delimiter literals.
117
117
  *
118
118
  * @public
119
119
  */
120
- type ListDelimiter = typeof ListDelimiter.Type;
120
+ export type ListDelimiter = typeof ListDelimiter.Type;
121
121
  /**
122
122
  * The three characters a thematic break may be drawn with.
123
123
  *
124
124
  * @public
125
125
  */
126
- declare const ThematicBreakChar: Schema.Literals<readonly ["-", "_", "*"]>;
126
+ export declare const ThematicBreakChar: Schema.Literals<readonly ["-", "_", "*"]>;
127
127
  /**
128
128
  * The union of all thematic-break character literals.
129
129
  *
130
130
  * @public
131
131
  */
132
- type ThematicBreakChar = typeof ThematicBreakChar.Type;
132
+ export type ThematicBreakChar = typeof ThematicBreakChar.Type;
133
133
  /**
134
134
  * The two characters emphasis and strong emphasis may be marked with.
135
135
  *
136
136
  * @public
137
137
  */
138
- declare const EmphasisChar: Schema.Literals<readonly ["*", "_"]>;
138
+ export declare const EmphasisChar: Schema.Literals<readonly ["*", "_"]>;
139
139
  /**
140
140
  * The union of all emphasis-marker character literals.
141
141
  *
142
142
  * @public
143
143
  */
144
- type EmphasisChar = typeof EmphasisChar.Type;
144
+ export type EmphasisChar = typeof EmphasisChar.Type;
145
145
  /**
146
146
  * The six legal ATX/setext heading depths.
147
147
  *
148
148
  * @public
149
149
  */
150
- declare const HeadingDepth: Schema.Literals<readonly [1, 2, 3, 4, 5, 6]>;
150
+ export declare const HeadingDepth: Schema.Literals<readonly [1, 2, 3, 4, 5, 6]>;
151
151
  /**
152
152
  * The union of all legal heading depths.
153
153
  *
154
154
  * @public
155
155
  */
156
- type HeadingDepth = typeof HeadingDepth.Type;
156
+ export type HeadingDepth = typeof HeadingDepth.Type;
157
157
  /**
158
158
  * The three alignments a GFM table column may declare. A `null` entry in a
159
159
  * {@link Table}'s `align` array means the column carries no alignment.
160
160
  *
161
161
  * @public
162
162
  */
163
- declare const TableAlign: Schema.Literals<readonly ["left", "right", "center"]>;
163
+ export declare const TableAlign: Schema.Literals<readonly ["left", "right", "center"]>;
164
164
  /**
165
165
  * The union of all table-alignment string literals.
166
166
  *
167
167
  * @public
168
168
  */
169
- type TableAlign = typeof TableAlign.Type;
169
+ export type TableAlign = typeof TableAlign.Type;
170
170
  declare const Text_base: Schema.Class<Text, Schema.Struct<{
171
171
  readonly type: Schema.tag<"text">;
172
172
  readonly value: Schema.String;
@@ -178,7 +178,7 @@ declare const Text_base: Schema.Class<Text, Schema.Struct<{
178
178
  *
179
179
  * @public
180
180
  */
181
- declare class Text extends Text_base {}
181
+ export declare class Text extends Text_base {}
182
182
  declare const InlineCode_base: Schema.Class<InlineCode, Schema.Struct<{
183
183
  readonly type: Schema.tag<"inlineCode">;
184
184
  readonly value: Schema.String;
@@ -191,7 +191,7 @@ declare const InlineCode_base: Schema.Class<InlineCode, Schema.Struct<{
191
191
  *
192
192
  * @public
193
193
  */
194
- declare class InlineCode extends InlineCode_base {}
194
+ export declare class InlineCode extends InlineCode_base {}
195
195
  declare const Html_base: Schema.Class<Html, Schema.Struct<{
196
196
  readonly type: Schema.tag<"html">;
197
197
  readonly value: Schema.String;
@@ -204,7 +204,7 @@ declare const Html_base: Schema.Class<Html, Schema.Struct<{
204
204
  *
205
205
  * @public
206
206
  */
207
- declare class Html extends Html_base {}
207
+ export declare class Html extends Html_base {}
208
208
  declare const Break_base: Schema.Class<Break, Schema.Struct<{
209
209
  readonly type: Schema.tag<"break">;
210
210
  readonly position: Schema.withConstructorDefault<typeof Position>;
@@ -218,7 +218,7 @@ declare const Break_base: Schema.Class<Break, Schema.Struct<{
218
218
  *
219
219
  * @public
220
220
  */
221
- declare class Break extends Break_base {}
221
+ export declare class Break extends Break_base {}
222
222
  declare const Image_base: Schema.Class<Image, Schema.Struct<{
223
223
  readonly type: Schema.tag<"image">;
224
224
  readonly url: Schema.String;
@@ -231,7 +231,7 @@ declare const Image_base: Schema.Class<Image, Schema.Struct<{
231
231
  *
232
232
  * @public
233
233
  */
234
- declare class Image extends Image_base {}
234
+ export declare class Image extends Image_base {}
235
235
  declare const ImageReference_base: Schema.Class<ImageReference, Schema.Struct<{
236
236
  readonly type: Schema.tag<"imageReference">;
237
237
  readonly identifier: Schema.String;
@@ -249,7 +249,7 @@ declare const ImageReference_base: Schema.Class<ImageReference, Schema.Struct<{
249
249
  *
250
250
  * @public
251
251
  */
252
- declare class ImageReference extends ImageReference_base {}
252
+ export declare class ImageReference extends ImageReference_base {}
253
253
  declare const Emphasis_base: Schema.Class<Emphasis, Schema.Struct<{
254
254
  readonly type: Schema.tag<"emphasis">;
255
255
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<PhrasingContent, PhrasingContent, never, never>>>;
@@ -263,7 +263,7 @@ declare const Emphasis_base: Schema.Class<Emphasis, Schema.Struct<{
263
263
  *
264
264
  * @public
265
265
  */
266
- declare class Emphasis extends Emphasis_base {}
266
+ export declare class Emphasis extends Emphasis_base {}
267
267
  declare const Strong_base: Schema.Class<Strong, Schema.Struct<{
268
268
  readonly type: Schema.tag<"strong">;
269
269
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<PhrasingContent, PhrasingContent, never, never>>>;
@@ -277,7 +277,7 @@ declare const Strong_base: Schema.Class<Strong, Schema.Struct<{
277
277
  *
278
278
  * @public
279
279
  */
280
- declare class Strong extends Strong_base {}
280
+ export declare class Strong extends Strong_base {}
281
281
  declare const Delete_base: Schema.Class<Delete, Schema.Struct<{
282
282
  readonly type: Schema.tag<"delete">;
283
283
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<PhrasingContent, PhrasingContent, never, never>>>;
@@ -293,7 +293,7 @@ declare const Delete_base: Schema.Class<Delete, Schema.Struct<{
293
293
  *
294
294
  * @public
295
295
  */
296
- declare class Delete extends Delete_base {}
296
+ export declare class Delete extends Delete_base {}
297
297
  declare const Link_base: Schema.Class<Link, Schema.Struct<{
298
298
  readonly type: Schema.tag<"link">;
299
299
  readonly url: Schema.String;
@@ -306,7 +306,7 @@ declare const Link_base: Schema.Class<Link, Schema.Struct<{
306
306
  *
307
307
  * @public
308
308
  */
309
- declare class Link extends Link_base {}
309
+ export declare class Link extends Link_base {}
310
310
  declare const LinkReference_base: Schema.Class<LinkReference, Schema.Struct<{
311
311
  readonly type: Schema.tag<"linkReference">;
312
312
  readonly identifier: Schema.String;
@@ -323,7 +323,7 @@ declare const LinkReference_base: Schema.Class<LinkReference, Schema.Struct<{
323
323
  *
324
324
  * @public
325
325
  */
326
- declare class LinkReference extends LinkReference_base {}
326
+ export declare class LinkReference extends LinkReference_base {}
327
327
  declare const FootnoteReference_base: Schema.Class<FootnoteReference, Schema.Struct<{
328
328
  readonly type: Schema.tag<"footnoteReference">;
329
329
  readonly identifier: Schema.String;
@@ -341,7 +341,7 @@ declare const FootnoteReference_base: Schema.Class<FootnoteReference, Schema.Str
341
341
  *
342
342
  * @public
343
343
  */
344
- declare class FootnoteReference extends FootnoteReference_base {}
344
+ export declare class FootnoteReference extends FootnoteReference_base {}
345
345
  /**
346
346
  * The union of every node that may appear where mdast expects **phrasing**
347
347
  * content — the text of a document and its markup.
@@ -351,7 +351,7 @@ declare class FootnoteReference extends FootnoteReference_base {}
351
351
  *
352
352
  * @public
353
353
  */
354
- declare const PhrasingContent: Schema.Codec<PhrasingContent>;
354
+ export declare const PhrasingContent: Schema.Codec<PhrasingContent>;
355
355
  /**
356
356
  * The union of all phrasing-content node types. Widened for MDX with
357
357
  * {@link MdxJsxTextElement} and {@link MdxTextExpression}, per
@@ -360,7 +360,7 @@ declare const PhrasingContent: Schema.Codec<PhrasingContent>;
360
360
  *
361
361
  * @public
362
362
  */
363
- type PhrasingContent = Break | Delete | Emphasis | FootnoteReference | Html | Image | ImageReference | InlineCode | Link | LinkReference | MdxJsxTextElement | MdxTextExpression | Strong | Text;
363
+ export type PhrasingContent = Break | Delete | Emphasis | FootnoteReference | Html | Image | ImageReference | InlineCode | Link | LinkReference | MdxJsxTextElement | MdxTextExpression | Strong | Text;
364
364
  declare const ThematicBreak_base: Schema.Class<ThematicBreak, Schema.Struct<{
365
365
  readonly type: Schema.tag<"thematicBreak">;
366
366
  readonly position: Schema.withConstructorDefault<typeof Position>;
@@ -373,7 +373,7 @@ declare const ThematicBreak_base: Schema.Class<ThematicBreak, Schema.Struct<{
373
373
  *
374
374
  * @public
375
375
  */
376
- declare class ThematicBreak extends ThematicBreak_base {}
376
+ export declare class ThematicBreak extends ThematicBreak_base {}
377
377
  declare const Code_base: Schema.Class<Code, Schema.Struct<{
378
378
  readonly type: Schema.tag<"code">;
379
379
  readonly value: Schema.String;
@@ -399,7 +399,7 @@ declare const Code_base: Schema.Class<Code, Schema.Struct<{
399
399
  *
400
400
  * @public
401
401
  */
402
- declare class Code extends Code_base {}
402
+ export declare class Code extends Code_base {}
403
403
  declare const Definition_base: Schema.Class<Definition, Schema.Struct<{
404
404
  readonly type: Schema.tag<"definition">;
405
405
  readonly identifier: Schema.String;
@@ -417,7 +417,7 @@ declare const Definition_base: Schema.Class<Definition, Schema.Struct<{
417
417
  *
418
418
  * @public
419
419
  */
420
- declare class Definition extends Definition_base {}
420
+ export declare class Definition extends Definition_base {}
421
421
  declare const FootnoteDefinition_base: Schema.Class<FootnoteDefinition, Schema.Struct<{
422
422
  readonly type: Schema.tag<"footnoteDefinition">;
423
423
  readonly identifier: Schema.String;
@@ -435,7 +435,7 @@ declare const FootnoteDefinition_base: Schema.Class<FootnoteDefinition, Schema.S
435
435
  *
436
436
  * @public
437
437
  */
438
- declare class FootnoteDefinition extends FootnoteDefinition_base {}
438
+ export declare class FootnoteDefinition extends FootnoteDefinition_base {}
439
439
  declare const Paragraph_base: Schema.Class<Paragraph, Schema.Struct<{
440
440
  readonly type: Schema.tag<"paragraph">;
441
441
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<PhrasingContent, PhrasingContent, never, never>>>;
@@ -446,7 +446,7 @@ declare const Paragraph_base: Schema.Class<Paragraph, Schema.Struct<{
446
446
  *
447
447
  * @public
448
448
  */
449
- declare class Paragraph extends Paragraph_base {}
449
+ export declare class Paragraph extends Paragraph_base {}
450
450
  declare const Heading_base: Schema.Class<Heading, Schema.Struct<{
451
451
  readonly type: Schema.tag<"heading">;
452
452
  readonly depth: Schema.Literals<readonly [1, 2, 3, 4, 5, 6]>;
@@ -462,7 +462,7 @@ declare const Heading_base: Schema.Class<Heading, Schema.Struct<{
462
462
  *
463
463
  * @public
464
464
  */
465
- declare class Heading extends Heading_base {}
465
+ export declare class Heading extends Heading_base {}
466
466
  declare const ListItem_base: Schema.Class<ListItem, Schema.Struct<{
467
467
  readonly type: Schema.tag<"listItem">;
468
468
  readonly spread: Schema.optionalKey<Schema.Boolean>;
@@ -483,7 +483,7 @@ declare const ListItem_base: Schema.Class<ListItem, Schema.Struct<{
483
483
  *
484
484
  * @public
485
485
  */
486
- declare class ListItem extends ListItem_base {}
486
+ export declare class ListItem extends ListItem_base {}
487
487
  declare const List_base: Schema.Class<List, Schema.Struct<{
488
488
  readonly type: Schema.tag<"list">;
489
489
  readonly ordered: Schema.optionalKey<Schema.Boolean>;
@@ -506,7 +506,7 @@ declare const List_base: Schema.Class<List, Schema.Struct<{
506
506
  *
507
507
  * @public
508
508
  */
509
- declare class List extends List_base {}
509
+ export declare class List extends List_base {}
510
510
  declare const Blockquote_base: Schema.Class<Blockquote, Schema.Struct<{
511
511
  readonly type: Schema.tag<"blockquote">;
512
512
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<FlowContent, FlowContent, never, never>>>;
@@ -517,7 +517,7 @@ declare const Blockquote_base: Schema.Class<Blockquote, Schema.Struct<{
517
517
  *
518
518
  * @public
519
519
  */
520
- declare class Blockquote extends Blockquote_base {}
520
+ export declare class Blockquote extends Blockquote_base {}
521
521
  declare const TableCell_base: Schema.Class<TableCell, Schema.Struct<{
522
522
  readonly type: Schema.tag<"tableCell">;
523
523
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<PhrasingContent, PhrasingContent, never, never>>>;
@@ -537,7 +537,7 @@ declare const TableCell_base: Schema.Class<TableCell, Schema.Struct<{
537
537
  *
538
538
  * @public
539
539
  */
540
- declare class TableCell extends TableCell_base {}
540
+ export declare class TableCell extends TableCell_base {}
541
541
  /**
542
542
  * The union of every node that may appear where mdast expects **row**
543
543
  * content — the cells in a {@link TableRow}. A one-member union, kept because
@@ -555,13 +555,13 @@ declare class TableCell extends TableCell_base {}
555
555
  *
556
556
  * @public
557
557
  */
558
- declare const RowContent: Schema.Codec<RowContent>;
558
+ export declare const RowContent: Schema.Codec<RowContent>;
559
559
  /**
560
560
  * The union of all row-content node types.
561
561
  *
562
562
  * @public
563
563
  */
564
- type RowContent = TableCell;
564
+ export type RowContent = TableCell;
565
565
  declare const TableRow_base: Schema.Class<TableRow, Schema.Struct<{
566
566
  readonly type: Schema.tag<"tableRow">;
567
567
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<TableCell, TableCell, never, never>>>;
@@ -573,7 +573,7 @@ declare const TableRow_base: Schema.Class<TableRow, Schema.Struct<{
573
573
  *
574
574
  * @public
575
575
  */
576
- declare class TableRow extends TableRow_base {}
576
+ export declare class TableRow extends TableRow_base {}
577
577
  /**
578
578
  * The union of every node that may appear where mdast expects **table**
579
579
  * content — the rows in a {@link Table}. A one-member union, kept because
@@ -582,13 +582,13 @@ declare class TableRow extends TableRow_base {}
582
582
  *
583
583
  * @public
584
584
  */
585
- declare const TableContent: Schema.Codec<TableContent>;
585
+ export declare const TableContent: Schema.Codec<TableContent>;
586
586
  /**
587
587
  * The union of all table-content node types.
588
588
  *
589
589
  * @public
590
590
  */
591
- type TableContent = TableRow;
591
+ export type TableContent = TableRow;
592
592
  declare const Table_base: Schema.Class<Table, Schema.Struct<{
593
593
  readonly type: Schema.tag<"table">;
594
594
  readonly align: Schema.optionalKey<Schema.$Array<Schema.NullOr<Schema.Literals<readonly ["left", "right", "center"]>>>>;
@@ -605,7 +605,7 @@ declare const Table_base: Schema.Class<Table, Schema.Struct<{
605
605
  *
606
606
  * @public
607
607
  */
608
- declare class Table extends Table_base {}
608
+ export declare class Table extends Table_base {}
609
609
  /**
610
610
  * The union of every node that may appear where mdast expects **flow**
611
611
  * content — the sections of a document.
@@ -617,7 +617,7 @@ declare class Table extends Table_base {}
617
617
  *
618
618
  * @public
619
619
  */
620
- declare const FlowContent: Schema.Codec<FlowContent>;
620
+ export declare const FlowContent: Schema.Codec<FlowContent>;
621
621
  /**
622
622
  * The union of all flow-content node types. Includes mdast's `Content`
623
623
  * category (`Definition | Paragraph`) inline, as the spec's `FlowContent`
@@ -628,7 +628,7 @@ declare const FlowContent: Schema.Codec<FlowContent>;
628
628
  *
629
629
  * @public
630
630
  */
631
- type FlowContent = Blockquote | Code | Definition | FootnoteDefinition | Heading | Html | List | MdxFlowExpression | MdxJsxFlowElement | Paragraph | Table | ThematicBreak;
631
+ export type FlowContent = Blockquote | Code | Definition | FootnoteDefinition | Heading | Html | List | MdxFlowExpression | MdxJsxFlowElement | Paragraph | Table | ThematicBreak;
632
632
  /**
633
633
  * The union of every node that may appear where mdast expects **list**
634
634
  * content. A one-member union, kept because mdast names the category and
@@ -637,13 +637,13 @@ type FlowContent = Blockquote | Code | Definition | FootnoteDefinition | Heading
637
637
  *
638
638
  * @public
639
639
  */
640
- declare const ListContent: Schema.Codec<ListContent>;
640
+ export declare const ListContent: Schema.Codec<ListContent>;
641
641
  /**
642
642
  * The union of all list-content node types.
643
643
  *
644
644
  * @public
645
645
  */
646
- type ListContent = ListItem;
646
+ export type ListContent = ListItem;
647
647
  declare const MdxJsxAttributeValueExpression_base: Schema.Class<MdxJsxAttributeValueExpression, Schema.Struct<{
648
648
  readonly type: Schema.tag<"mdxJsxAttributeValueExpression">;
649
649
  readonly value: Schema.String;
@@ -659,7 +659,7 @@ declare const MdxJsxAttributeValueExpression_base: Schema.Class<MdxJsxAttributeV
659
659
  *
660
660
  * @public
661
661
  */
662
- declare class MdxJsxAttributeValueExpression extends MdxJsxAttributeValueExpression_base {}
662
+ export declare class MdxJsxAttributeValueExpression extends MdxJsxAttributeValueExpression_base {}
663
663
  declare const MdxJsxAttribute_base: Schema.Class<MdxJsxAttribute, Schema.Struct<{
664
664
  readonly type: Schema.tag<"mdxJsxAttribute">;
665
665
  readonly name: Schema.String;
@@ -679,7 +679,7 @@ declare const MdxJsxAttribute_base: Schema.Class<MdxJsxAttribute, Schema.Struct<
679
679
  *
680
680
  * @public
681
681
  */
682
- declare class MdxJsxAttribute extends MdxJsxAttribute_base {}
682
+ export declare class MdxJsxAttribute extends MdxJsxAttribute_base {}
683
683
  declare const MdxJsxExpressionAttribute_base: Schema.Class<MdxJsxExpressionAttribute, Schema.Struct<{
684
684
  readonly type: Schema.tag<"mdxJsxExpressionAttribute">;
685
685
  readonly value: Schema.String;
@@ -692,7 +692,7 @@ declare const MdxJsxExpressionAttribute_base: Schema.Class<MdxJsxExpressionAttri
692
692
  *
693
693
  * @public
694
694
  */
695
- declare class MdxJsxExpressionAttribute extends MdxJsxExpressionAttribute_base {}
695
+ export declare class MdxJsxExpressionAttribute extends MdxJsxExpressionAttribute_base {}
696
696
  /**
697
697
  * The union of every node that may appear in a JSX element's `attributes`
698
698
  * array. A real `Schema.Union` for the construction pass-through documented
@@ -706,13 +706,13 @@ declare class MdxJsxExpressionAttribute extends MdxJsxExpressionAttribute_base {
706
706
  *
707
707
  * @public
708
708
  */
709
- declare const MdxJsxAttributeContent: Schema.Codec<MdxJsxAttributeContent>;
709
+ export declare const MdxJsxAttributeContent: Schema.Codec<MdxJsxAttributeContent>;
710
710
  /**
711
711
  * The union of all JSX attribute node types.
712
712
  *
713
713
  * @public
714
714
  */
715
- type MdxJsxAttributeContent = MdxJsxAttribute | MdxJsxExpressionAttribute;
715
+ export type MdxJsxAttributeContent = MdxJsxAttribute | MdxJsxExpressionAttribute;
716
716
  declare const MdxJsxFlowElement_base: Schema.Class<MdxJsxFlowElement, Schema.Struct<{
717
717
  readonly type: Schema.tag<"mdxJsxFlowElement">;
718
718
  readonly name: Schema.NullOr<Schema.String>;
@@ -734,7 +734,7 @@ declare const MdxJsxFlowElement_base: Schema.Class<MdxJsxFlowElement, Schema.Str
734
734
  *
735
735
  * @public
736
736
  */
737
- declare class MdxJsxFlowElement extends MdxJsxFlowElement_base {}
737
+ export declare class MdxJsxFlowElement extends MdxJsxFlowElement_base {}
738
738
  declare const MdxJsxTextElement_base: Schema.Class<MdxJsxTextElement, Schema.Struct<{
739
739
  readonly type: Schema.tag<"mdxJsxTextElement">;
740
740
  readonly name: Schema.NullOr<Schema.String>;
@@ -750,7 +750,7 @@ declare const MdxJsxTextElement_base: Schema.Class<MdxJsxTextElement, Schema.Str
750
750
  *
751
751
  * @public
752
752
  */
753
- declare class MdxJsxTextElement extends MdxJsxTextElement_base {}
753
+ export declare class MdxJsxTextElement extends MdxJsxTextElement_base {}
754
754
  declare const MdxFlowExpression_base: Schema.Class<MdxFlowExpression, Schema.Struct<{
755
755
  readonly type: Schema.tag<"mdxFlowExpression">;
756
756
  readonly value: Schema.String;
@@ -763,7 +763,7 @@ declare const MdxFlowExpression_base: Schema.Class<MdxFlowExpression, Schema.Str
763
763
  *
764
764
  * @public
765
765
  */
766
- declare class MdxFlowExpression extends MdxFlowExpression_base {}
766
+ export declare class MdxFlowExpression extends MdxFlowExpression_base {}
767
767
  declare const MdxTextExpression_base: Schema.Class<MdxTextExpression, Schema.Struct<{
768
768
  readonly type: Schema.tag<"mdxTextExpression">;
769
769
  readonly value: Schema.String;
@@ -775,7 +775,7 @@ declare const MdxTextExpression_base: Schema.Class<MdxTextExpression, Schema.Str
775
775
  *
776
776
  * @public
777
777
  */
778
- declare class MdxTextExpression extends MdxTextExpression_base {}
778
+ export declare class MdxTextExpression extends MdxTextExpression_base {}
779
779
  declare const MdxjsEsm_base: Schema.Class<MdxjsEsm, Schema.Struct<{
780
780
  readonly type: Schema.tag<"mdxjsEsm">;
781
781
  readonly value: Schema.String;
@@ -792,20 +792,20 @@ declare const MdxjsEsm_base: Schema.Class<MdxjsEsm, Schema.Struct<{
792
792
  *
793
793
  * @public
794
794
  */
795
- declare class MdxjsEsm extends MdxjsEsm_base {}
795
+ export declare class MdxjsEsm extends MdxjsEsm_base {}
796
796
  /**
797
797
  * The frontmatter formats the capture recognizes, keyed by their opening
798
798
  * fence: `---` is yaml, `+++` is toml and `---json` is json.
799
799
  *
800
800
  * @public
801
801
  */
802
- declare const FrontmatterFormat: Schema.Literals<readonly ["yaml", "toml", "json"]>;
802
+ export declare const FrontmatterFormat: Schema.Literals<readonly ["yaml", "toml", "json"]>;
803
803
  /**
804
804
  * The union of all frontmatter format string literals.
805
805
  *
806
806
  * @public
807
807
  */
808
- type FrontmatterFormat = typeof FrontmatterFormat.Type;
808
+ export type FrontmatterFormat = typeof FrontmatterFormat.Type;
809
809
  declare const Frontmatter_base: Schema.Class<Frontmatter, Schema.Struct<{
810
810
  readonly type: Schema.tag<"frontmatter">;
811
811
  readonly format: Schema.Literals<readonly ["yaml", "toml", "json"]>;
@@ -832,7 +832,7 @@ declare const Frontmatter_base: Schema.Class<Frontmatter, Schema.Struct<{
832
832
  *
833
833
  * @public
834
834
  */
835
- declare class Frontmatter extends Frontmatter_base {}
835
+ export declare class Frontmatter extends Frontmatter_base {}
836
836
  /**
837
837
  * The union of every node that may appear where mdast expects
838
838
  * **frontmatter** content — a one-member union, kept because mdast names the
@@ -840,13 +840,13 @@ declare class Frontmatter extends Frontmatter_base {}
840
840
  *
841
841
  * @public
842
842
  */
843
- declare const FrontmatterContent: Schema.Codec<FrontmatterContent>;
843
+ export declare const FrontmatterContent: Schema.Codec<FrontmatterContent>;
844
844
  /**
845
845
  * The union of all frontmatter-content node types.
846
846
  *
847
847
  * @public
848
848
  */
849
- type FrontmatterContent = Frontmatter;
849
+ export type FrontmatterContent = Frontmatter;
850
850
  declare const Root_base: Schema.Class<Root, Schema.Struct<{
851
851
  readonly type: Schema.tag<"root">;
852
852
  readonly children: Schema.$Array<Schema.suspend<Schema.Codec<Frontmatter | MdxjsEsm | FlowContent, Frontmatter | MdxjsEsm | FlowContent, never, never>>>;
@@ -863,20 +863,20 @@ declare const Root_base: Schema.Class<Root, Schema.Struct<{
863
863
  *
864
864
  * @public
865
865
  */
866
- declare class Root extends Root_base {}
866
+ export declare class Root extends Root_base {}
867
867
  /**
868
868
  * The union of every mdast node type this package produces — the content
869
869
  * categories plus {@link Root}.
870
870
  *
871
871
  * @public
872
872
  */
873
- type MarkdownNode = Root | FrontmatterContent | FlowContent | ListContent | MdxjsEsm | PhrasingContent | RowContent | TableContent;
873
+ export type MarkdownNode = Root | FrontmatterContent | FlowContent | ListContent | MdxjsEsm | PhrasingContent | RowContent | TableContent;
874
874
  /**
875
875
  * A schema matching any node in the tree.
876
876
  *
877
877
  * @public
878
878
  */
879
- declare const MarkdownNode: Schema.Codec<MarkdownNode>;
879
+ export declare const MarkdownNode: Schema.Codec<MarkdownNode>;
880
880
  /**
881
881
  * The union of every node `type` tag this package produces — the selector
882
882
  * vocabulary of `MarkdownDocument.find`/`findAll`.
@@ -902,13 +902,13 @@ type MarkdownNodeOfType<T extends MarkdownNodeType> = Extract<MarkdownNode, {
902
902
  *
903
903
  * @public
904
904
  */
905
- declare const MarkdownParseErrorCode: Schema.Literals<readonly ["NestingDepthExceeded"]>;
905
+ export declare const MarkdownParseErrorCode: Schema.Literals<readonly ["NestingDepthExceeded"]>;
906
906
  /**
907
907
  * The union of all markdown parse-error code string literals.
908
908
  *
909
909
  * @public
910
910
  */
911
- type MarkdownParseErrorCode = typeof MarkdownParseErrorCode.Type;
911
+ export type MarkdownParseErrorCode = typeof MarkdownParseErrorCode.Type;
912
912
  declare const MarkdownDiagnostic_base: Schema.Class<MarkdownDiagnostic, Schema.Struct<{
913
913
  readonly code: Schema.Literals<readonly ["NestingDepthExceeded"]>;
914
914
  readonly message: Schema.String;
@@ -935,7 +935,7 @@ declare const MarkdownDiagnostic_base: Schema.Class<MarkdownDiagnostic, Schema.S
935
935
  *
936
936
  * @public
937
937
  */
938
- declare class MarkdownDiagnostic extends MarkdownDiagnostic_base {
938
+ export declare class MarkdownDiagnostic extends MarkdownDiagnostic_base {
939
939
  /**
940
940
  * Materialize an engine record, deriving zero-based `line`/`character`
941
941
  * from `offset` against the source `text`. Advanced — the parse entry
@@ -960,13 +960,13 @@ declare class MarkdownDiagnostic extends MarkdownDiagnostic_base {
960
960
  *
961
961
  * @public
962
962
  */
963
- declare const MarkdownDialect: Schema.Literals<readonly ["commonmark", "gfm"]>;
963
+ export declare const MarkdownDialect: Schema.Literals<readonly ["commonmark", "gfm"]>;
964
964
  /**
965
965
  * The union of all markdown dialect string literals.
966
966
  *
967
967
  * @public
968
968
  */
969
- type MarkdownDialect = typeof MarkdownDialect.Type;
969
+ export type MarkdownDialect = typeof MarkdownDialect.Type;
970
970
  declare const MarkdownParseOptions_base: Schema.Class<MarkdownParseOptions, Schema.Struct<{
971
971
  readonly dialect: Schema.optionalKey<Schema.Literals<readonly ["commonmark", "gfm"]>>;
972
972
  readonly frontmatter: Schema.optionalKey<Schema.Boolean>;
@@ -988,7 +988,7 @@ declare const MarkdownParseOptions_base: Schema.Class<MarkdownParseOptions, Sche
988
988
  *
989
989
  * @public
990
990
  */
991
- declare class MarkdownParseOptions extends MarkdownParseOptions_base {}
991
+ export declare class MarkdownParseOptions extends MarkdownParseOptions_base {}
992
992
  declare const MarkdownParseError_base: Schema.Class<MarkdownParseError, Schema.TaggedStruct<"MarkdownParseError", {
993
993
  readonly diagnostic: typeof MarkdownDiagnostic;
994
994
  }>, import("effect/Cause").YieldableError>;
@@ -1005,7 +1005,7 @@ declare const MarkdownParseError_base: Schema.Class<MarkdownParseError, Schema.T
1005
1005
  *
1006
1006
  * @public
1007
1007
  */
1008
- declare class MarkdownParseError extends MarkdownParseError_base {
1008
+ export declare class MarkdownParseError extends MarkdownParseError_base {
1009
1009
  get message(): string;
1010
1010
  }
1011
1011
  declare const MarkdownStringifyError_base: Schema.Class<MarkdownStringifyError, Schema.TaggedStruct<"MarkdownStringifyError", {
@@ -1026,7 +1026,7 @@ declare const MarkdownStringifyError_base: Schema.Class<MarkdownStringifyError,
1026
1026
  *
1027
1027
  * @public
1028
1028
  */
1029
- declare class MarkdownStringifyError extends MarkdownStringifyError_base {
1029
+ export declare class MarkdownStringifyError extends MarkdownStringifyError_base {
1030
1030
  get message(): string;
1031
1031
  }
1032
1032
  /**
@@ -1036,7 +1036,7 @@ declare class MarkdownStringifyError extends MarkdownStringifyError_base {
1036
1036
  *
1037
1037
  * @public
1038
1038
  */
1039
- declare class Markdown {
1039
+ export declare class Markdown {
1040
1040
  /**
1041
1041
  * Parse markdown into a {@link Root} tree, synchronously, as a `Result`.
1042
1042
  * The pure primitive: a non-Effect caller (a build script, a Vite plugin,
@@ -1304,7 +1304,7 @@ declare const MarkdownRange_base: Schema.Class<MarkdownRange, Schema.Struct<{
1304
1304
  *
1305
1305
  * @public
1306
1306
  */
1307
- declare class MarkdownRange extends MarkdownRange_base {}
1307
+ export declare class MarkdownRange extends MarkdownRange_base {}
1308
1308
  declare const MarkdownEdit_base: Schema.Class<MarkdownEdit, Schema.Struct<{
1309
1309
  readonly offset: Schema.Number;
1310
1310
  readonly length: Schema.Number;
@@ -1322,7 +1322,7 @@ declare const MarkdownEdit_base: Schema.Class<MarkdownEdit, Schema.Struct<{
1322
1322
  *
1323
1323
  * @public
1324
1324
  */
1325
- declare class MarkdownEdit extends MarkdownEdit_base {
1325
+ export declare class MarkdownEdit extends MarkdownEdit_base {
1326
1326
  /**
1327
1327
  * Apply `edits` to `text`, producing a new string. Edits are applied in
1328
1328
  * reverse-offset order so earlier offsets stay valid; the input `edits`
@@ -1367,7 +1367,7 @@ interface DocumentHeading {
1367
1367
  *
1368
1368
  * @public
1369
1369
  */
1370
- declare class DocumentSection {
1370
+ export declare class DocumentSection {
1371
1371
  #private;
1372
1372
  /** The heading that opens the section. */
1373
1373
  readonly heading: Heading;
@@ -1506,7 +1506,7 @@ declare const MarkdownDocument_base: Schema.Class<MarkdownDocument, Schema.Struc
1506
1506
  *
1507
1507
  * @public
1508
1508
  */
1509
- declare class MarkdownDocument extends MarkdownDocument_base {
1509
+ export declare class MarkdownDocument extends MarkdownDocument_base {
1510
1510
  /**
1511
1511
  * The document's frontmatter capture, or `undefined` when there is none.
1512
1512
  *
@@ -1696,7 +1696,7 @@ declare const FrontmatterFormatMismatchError_base: Schema.Class<FrontmatterForma
1696
1696
  *
1697
1697
  * @public
1698
1698
  */
1699
- declare class FrontmatterFormatMismatchError extends FrontmatterFormatMismatchError_base {
1699
+ export declare class FrontmatterFormatMismatchError extends FrontmatterFormatMismatchError_base {
1700
1700
  get message(): string;
1701
1701
  }
1702
1702
  declare const FrontmatterDecodeError_base: Schema.Class<FrontmatterDecodeError, Schema.TaggedStruct<"FrontmatterDecodeError", {
@@ -1717,7 +1717,7 @@ declare const FrontmatterDecodeError_base: Schema.Class<FrontmatterDecodeError,
1717
1717
  *
1718
1718
  * @public
1719
1719
  */
1720
- declare class FrontmatterDecodeError extends FrontmatterDecodeError_base {
1720
+ export declare class FrontmatterDecodeError extends FrontmatterDecodeError_base {
1721
1721
  get message(): string;
1722
1722
  }
1723
1723
  declare const FrontmatterEncodeError_base: Schema.Class<FrontmatterEncodeError, Schema.TaggedStruct<"FrontmatterEncodeError", {
@@ -1738,7 +1738,7 @@ declare const FrontmatterEncodeError_base: Schema.Class<FrontmatterEncodeError,
1738
1738
  *
1739
1739
  * @public
1740
1740
  */
1741
- declare class FrontmatterEncodeError extends FrontmatterEncodeError_base {
1741
+ export declare class FrontmatterEncodeError extends FrontmatterEncodeError_base {
1742
1742
  get message(): string;
1743
1743
  }
1744
1744
  /**
@@ -1789,13 +1789,13 @@ interface FrontmatterCodec {
1789
1789
  *
1790
1790
  * @public
1791
1791
  */
1792
- declare const FrontmatterMissingReason: Schema.Literals<readonly ["absent", "captureDisabled"]>;
1792
+ export declare const FrontmatterMissingReason: Schema.Literals<readonly ["absent", "captureDisabled"]>;
1793
1793
  /**
1794
1794
  * Why a frontmatter decoder found no capture on a document.
1795
1795
  *
1796
1796
  * @public
1797
1797
  */
1798
- type FrontmatterMissingReason = typeof FrontmatterMissingReason.Type;
1798
+ export type FrontmatterMissingReason = typeof FrontmatterMissingReason.Type;
1799
1799
  declare const FrontmatterMissingError_base: Schema.Class<FrontmatterMissingError, Schema.TaggedStruct<"FrontmatterMissingError", {
1800
1800
  /** Why there is no capture: no block at all, or capture left off. */
1801
1801
  readonly reason: Schema.Literals<readonly ["absent", "captureDisabled"]>;
@@ -1820,7 +1820,7 @@ declare const FrontmatterMissingError_base: Schema.Class<FrontmatterMissingError
1820
1820
  *
1821
1821
  * @public
1822
1822
  */
1823
- declare class FrontmatterMissingError extends FrontmatterMissingError_base {
1823
+ export declare class FrontmatterMissingError extends FrontmatterMissingError_base {
1824
1824
  get message(): string;
1825
1825
  }
1826
1826
  declare const FrontmatterValidationError_base: Schema.Class<FrontmatterValidationError, Schema.TaggedStruct<"FrontmatterValidationError", {
@@ -1840,7 +1840,7 @@ declare const FrontmatterValidationError_base: Schema.Class<FrontmatterValidatio
1840
1840
  *
1841
1841
  * @public
1842
1842
  */
1843
- declare class FrontmatterValidationError extends FrontmatterValidationError_base {
1843
+ export declare class FrontmatterValidationError extends FrontmatterValidationError_base {
1844
1844
  get message(): string;
1845
1845
  }
1846
1846
  /**
@@ -1871,7 +1871,7 @@ type FrontmatterWriteError = FrontmatterFormatMismatchError | FrontmatterEncodeE
1871
1871
  *
1872
1872
  * @public
1873
1873
  */
1874
- declare class MarkdownFrontmatter {
1874
+ export declare class MarkdownFrontmatter {
1875
1875
  /**
1876
1876
  * Compose a consumer schema with a {@link FrontmatterCodec} into a typed
1877
1877
  * decoder over a parsed `MarkdownDocument`.
@@ -1975,7 +1975,7 @@ declare const SchemaDeclarationByUrl_base: Schema.Class<SchemaDeclarationByUrl,
1975
1975
  *
1976
1976
  * @public
1977
1977
  */
1978
- declare class SchemaDeclarationByUrl extends SchemaDeclarationByUrl_base {}
1978
+ export declare class SchemaDeclarationByUrl extends SchemaDeclarationByUrl_base {}
1979
1979
  declare const SchemaDeclarationByPath_base: Schema.Class<SchemaDeclarationByPath, Schema.TaggedStruct<"ByPath", {
1980
1980
  /** The path as written in the declaration. */
1981
1981
  readonly path: Schema.String;
@@ -1989,7 +1989,7 @@ declare const SchemaDeclarationByPath_base: Schema.Class<SchemaDeclarationByPath
1989
1989
  *
1990
1990
  * @public
1991
1991
  */
1992
- declare class SchemaDeclarationByPath extends SchemaDeclarationByPath_base {}
1992
+ export declare class SchemaDeclarationByPath extends SchemaDeclarationByPath_base {}
1993
1993
  declare const SchemaDeclarationInline_base: Schema.Class<SchemaDeclarationInline, Schema.TaggedStruct<"Inline", {
1994
1994
  /** The inline schema document, exactly as decoded from the frontmatter. */
1995
1995
  readonly document: Schema.Unknown;
@@ -2006,7 +2006,7 @@ declare const SchemaDeclarationInline_base: Schema.Class<SchemaDeclarationInline
2006
2006
  *
2007
2007
  * @public
2008
2008
  */
2009
- declare class SchemaDeclarationInline extends SchemaDeclarationInline_base {}
2009
+ export declare class SchemaDeclarationInline extends SchemaDeclarationInline_base {}
2010
2010
  declare const SchemaDeclarationByName_base: Schema.Class<SchemaDeclarationByName, Schema.TaggedStruct<"ByName", {
2011
2011
  /** The name as written, scope included. */
2012
2012
  readonly name: Schema.String;
@@ -2027,20 +2027,20 @@ declare const SchemaDeclarationByName_base: Schema.Class<SchemaDeclarationByName
2027
2027
  *
2028
2028
  * @public
2029
2029
  */
2030
- declare class SchemaDeclarationByName extends SchemaDeclarationByName_base {}
2030
+ export declare class SchemaDeclarationByName extends SchemaDeclarationByName_base {}
2031
2031
  /**
2032
2032
  * The classified `$schema` declaration union — the full grammar contract for
2033
2033
  * how a frontmatter block may self-describe its schema.
2034
2034
  *
2035
2035
  * @public
2036
2036
  */
2037
- declare const SchemaDeclaration: Schema.Union<readonly [typeof SchemaDeclarationByUrl, typeof SchemaDeclarationByPath, typeof SchemaDeclarationInline, typeof SchemaDeclarationByName]>;
2037
+ export declare const SchemaDeclaration: Schema.Union<readonly [typeof SchemaDeclarationByUrl, typeof SchemaDeclarationByPath, typeof SchemaDeclarationInline, typeof SchemaDeclarationByName]>;
2038
2038
  /**
2039
2039
  * The union of all classified `$schema` declaration shapes.
2040
2040
  *
2041
2041
  * @public
2042
2042
  */
2043
- type SchemaDeclaration = SchemaDeclarationByUrl | SchemaDeclarationByPath | SchemaDeclarationInline | SchemaDeclarationByName;
2043
+ export type SchemaDeclaration = SchemaDeclarationByUrl | SchemaDeclarationByPath | SchemaDeclarationInline | SchemaDeclarationByName;
2044
2044
  declare const SchemaDeclarationInvalidError_base: Schema.Class<SchemaDeclarationInvalidError, Schema.TaggedStruct<"SchemaDeclarationInvalidError", {
2045
2045
  /** Why the value failed to classify. */
2046
2046
  readonly reason: Schema.String;
@@ -2054,7 +2054,7 @@ declare const SchemaDeclarationInvalidError_base: Schema.Class<SchemaDeclaration
2054
2054
  *
2055
2055
  * @public
2056
2056
  */
2057
- declare class SchemaDeclarationInvalidError extends SchemaDeclarationInvalidError_base {
2057
+ export declare class SchemaDeclarationInvalidError extends SchemaDeclarationInvalidError_base {
2058
2058
  get message(): string;
2059
2059
  }
2060
2060
  declare const SchemaDeclarationMissingError_base: Schema.Class<SchemaDeclarationMissingError, Schema.TaggedStruct<"SchemaDeclarationMissingError", {}>, import("effect/Cause").YieldableError>;
@@ -2065,7 +2065,7 @@ declare const SchemaDeclarationMissingError_base: Schema.Class<SchemaDeclaration
2065
2065
  *
2066
2066
  * @public
2067
2067
  */
2068
- declare class SchemaDeclarationMissingError extends SchemaDeclarationMissingError_base {
2068
+ export declare class SchemaDeclarationMissingError extends SchemaDeclarationMissingError_base {
2069
2069
  get message(): string;
2070
2070
  }
2071
2071
  declare const SchemaNameUnknownError_base: Schema.Class<SchemaNameUnknownError, Schema.TaggedStruct<"SchemaNameUnknownError", {
@@ -2079,7 +2079,7 @@ declare const SchemaNameUnknownError_base: Schema.Class<SchemaNameUnknownError,
2079
2079
  *
2080
2080
  * @public
2081
2081
  */
2082
- declare class SchemaNameUnknownError extends SchemaNameUnknownError_base {
2082
+ export declare class SchemaNameUnknownError extends SchemaNameUnknownError_base {
2083
2083
  get message(): string;
2084
2084
  }
2085
2085
  declare const SchemaVersionUnresolvableError_base: Schema.Class<SchemaVersionUnresolvableError, Schema.TaggedStruct<"SchemaVersionUnresolvableError", {
@@ -2097,7 +2097,7 @@ declare const SchemaVersionUnresolvableError_base: Schema.Class<SchemaVersionUnr
2097
2097
  *
2098
2098
  * @public
2099
2099
  */
2100
- declare class SchemaVersionUnresolvableError extends SchemaVersionUnresolvableError_base {
2100
+ export declare class SchemaVersionUnresolvableError extends SchemaVersionUnresolvableError_base {
2101
2101
  get message(): string;
2102
2102
  }
2103
2103
  /**
@@ -2129,7 +2129,7 @@ interface FrontmatterSchemaResolver<E = never> {
2129
2129
  *
2130
2130
  * @public
2131
2131
  */
2132
- declare class SchemaResolver {
2132
+ export declare class SchemaResolver {
2133
2133
  /**
2134
2134
  * Classify a raw `$schema` value into the declaration union.
2135
2135
  *
@@ -2200,13 +2200,13 @@ declare class SchemaResolver {
2200
2200
  *
2201
2201
  * @public
2202
2202
  */
2203
- declare const FrontmatterNewline: Schema.Literals<readonly ["\n", "\r\n", "\r"]>;
2203
+ export declare const FrontmatterNewline: Schema.Literals<readonly ["\n", "\r\n", "\r"]>;
2204
2204
  /**
2205
2205
  * The union of all fence line-terminator literals.
2206
2206
  *
2207
2207
  * @public
2208
2208
  */
2209
- type FrontmatterNewline = typeof FrontmatterNewline.Type;
2209
+ export type FrontmatterNewline = typeof FrontmatterNewline.Type;
2210
2210
  declare const FrontmatterSourceBlock_base: Schema.Class<FrontmatterSourceBlock, Schema.Struct<{
2211
2211
  readonly format: Schema.Literals<readonly ["yaml", "toml", "json"]>;
2212
2212
  readonly value: Schema.String;
@@ -2234,7 +2234,7 @@ declare const FrontmatterSourceBlock_base: Schema.Class<FrontmatterSourceBlock,
2234
2234
  *
2235
2235
  * @public
2236
2236
  */
2237
- declare class FrontmatterSourceBlock extends FrontmatterSourceBlock_base {}
2237
+ export declare class FrontmatterSourceBlock extends FrontmatterSourceBlock_base {}
2238
2238
  declare const FrontmatterSourceSplit_base: Schema.Class<FrontmatterSourceSplit, Schema.Struct<{
2239
2239
  readonly frontmatter: Schema.optionalKey<typeof FrontmatterSourceBlock>;
2240
2240
  readonly body: Schema.String;
@@ -2259,14 +2259,14 @@ declare const FrontmatterSourceSplit_base: Schema.Class<FrontmatterSourceSplit,
2259
2259
  *
2260
2260
  * @public
2261
2261
  */
2262
- declare class FrontmatterSourceSplit extends FrontmatterSourceSplit_base {}
2262
+ export declare class FrontmatterSourceSplit extends FrontmatterSourceSplit_base {}
2263
2263
  /**
2264
2264
  * The string-level frontmatter facade: split raw source at the fence
2265
2265
  * boundaries and join it back, without parsing anything.
2266
2266
  *
2267
2267
  * @public
2268
2268
  */
2269
- declare class FrontmatterSource {
2269
+ export declare class FrontmatterSource {
2270
2270
  private constructor();
2271
2271
  /**
2272
2272
  * Split raw source into its frontmatter block and body, at string level.
@@ -2355,7 +2355,7 @@ declare class FrontmatterSource {
2355
2355
  *
2356
2356
  * @public
2357
2357
  */
2358
- declare const JsonFrontmatter: FrontmatterCodec;
2358
+ export declare const JsonFrontmatter: FrontmatterCodec;
2359
2359
  //#endregion
2360
2360
  //#region src/MarkdownFormat.d.ts
2361
2361
  /**
@@ -2381,13 +2381,13 @@ type MarkdownRangeLike = MarkdownRange | {
2381
2381
  *
2382
2382
  * @public
2383
2383
  */
2384
- declare const CodeBlockStyle: Schema.Literals<readonly ["fenced", "indented"]>;
2384
+ export declare const CodeBlockStyle: Schema.Literals<readonly ["fenced", "indented"]>;
2385
2385
  /**
2386
2386
  * The union of all code-block-style string literals.
2387
2387
  *
2388
2388
  * @public
2389
2389
  */
2390
- type CodeBlockStyle = typeof CodeBlockStyle.Type;
2390
+ export type CodeBlockStyle = typeof CodeBlockStyle.Type;
2391
2391
  declare const MarkdownFormattingOptions_base: Schema.Class<MarkdownFormattingOptions, Schema.Struct<{
2392
2392
  readonly dialect: Schema.optionalKey<Schema.Literals<readonly ["commonmark", "gfm"]>>;
2393
2393
  readonly frontmatter: Schema.optionalKey<Schema.Boolean>;
@@ -2428,19 +2428,19 @@ declare const MarkdownFormattingOptions_base: Schema.Class<MarkdownFormattingOpt
2428
2428
  *
2429
2429
  * @public
2430
2430
  */
2431
- declare class MarkdownFormattingOptions extends MarkdownFormattingOptions_base {}
2431
+ export declare class MarkdownFormattingOptions extends MarkdownFormattingOptions_base {}
2432
2432
  /**
2433
2433
  * Error codes `MarkdownFormat.modify` can fail with.
2434
2434
  *
2435
2435
  * @public
2436
2436
  */
2437
- declare const MarkdownModificationErrorCode: Schema.Literals<readonly ["NodeNotInDocument", "UnsupportedTarget", "FragmentCategoryMismatch", "FragmentUnrenderable"]>;
2437
+ export declare const MarkdownModificationErrorCode: Schema.Literals<readonly ["NodeNotInDocument", "UnsupportedTarget", "FragmentCategoryMismatch", "FragmentUnrenderable"]>;
2438
2438
  /**
2439
2439
  * The union of all modification-error code string literals.
2440
2440
  *
2441
2441
  * @public
2442
2442
  */
2443
- type MarkdownModificationErrorCode = typeof MarkdownModificationErrorCode.Type;
2443
+ export type MarkdownModificationErrorCode = typeof MarkdownModificationErrorCode.Type;
2444
2444
  declare const MarkdownModificationError_base: Schema.Class<MarkdownModificationError, Schema.TaggedStruct<"MarkdownModificationError", {
2445
2445
  readonly code: Schema.Literals<readonly ["NodeNotInDocument", "UnsupportedTarget", "FragmentCategoryMismatch", "FragmentUnrenderable"]>;
2446
2446
  readonly detail: Schema.String;
@@ -2459,7 +2459,7 @@ declare const MarkdownModificationError_base: Schema.Class<MarkdownModificationE
2459
2459
  *
2460
2460
  * @public
2461
2461
  */
2462
- declare class MarkdownModificationError extends MarkdownModificationError_base {
2462
+ export declare class MarkdownModificationError extends MarkdownModificationError_base {
2463
2463
  get message(): string;
2464
2464
  }
2465
2465
  /**
@@ -2477,7 +2477,7 @@ declare class MarkdownModificationError extends MarkdownModificationError_base {
2477
2477
  *
2478
2478
  * @public
2479
2479
  */
2480
- declare class MarkdownFormat {
2480
+ export declare class MarkdownFormat {
2481
2481
  private constructor();
2482
2482
  /**
2483
2483
  * Compute marker-normalization edits per the requested
@@ -2534,7 +2534,7 @@ declare class MarkdownFormat {
2534
2534
  *
2535
2535
  * @public
2536
2536
  */
2537
- type MarkdownVisitorEvent = Data.TaggedEnum<{
2537
+ export type MarkdownVisitorEvent = Data.TaggedEnum<{
2538
2538
  Enter: {
2539
2539
  readonly node: MarkdownNode;
2540
2540
  readonly path: MarkdownPath;
@@ -2558,7 +2558,7 @@ type MarkdownVisitorEvent = Data.TaggedEnum<{
2558
2558
  *
2559
2559
  * @public
2560
2560
  */
2561
- declare const MarkdownVisitorEvent: {
2561
+ export declare const MarkdownVisitorEvent: {
2562
2562
  readonly $is: <Tag extends "Enter" | "Error" | "Exit">(tag: Tag) => (u: unknown) => u is Extract<{
2563
2563
  readonly _tag: "Enter";
2564
2564
  readonly node: MarkdownNode;
@@ -2677,7 +2677,7 @@ declare const MarkdownVisitorEvent: {
2677
2677
  *
2678
2678
  * @public
2679
2679
  */
2680
- declare class MarkdownVisitor {
2680
+ export declare class MarkdownVisitor {
2681
2681
  private constructor();
2682
2682
  /**
2683
2683
  * Create a lazy `Stream` of `MarkdownVisitorEvent` walking `root` in
@@ -2729,7 +2729,7 @@ declare const MdastDecodeError_base: Schema.Class<MdastDecodeError, Schema.Tagge
2729
2729
  *
2730
2730
  * @public
2731
2731
  */
2732
- declare class MdastDecodeError extends MdastDecodeError_base {
2732
+ export declare class MdastDecodeError extends MdastDecodeError_base {
2733
2733
  get message(): string;
2734
2734
  }
2735
2735
  /**
@@ -2737,7 +2737,7 @@ declare class MdastDecodeError extends MdastDecodeError_base {
2737
2737
  *
2738
2738
  * @public
2739
2739
  */
2740
- declare class Mdast {
2740
+ export declare class Mdast {
2741
2741
  /**
2742
2742
  * Project a parsed {@link Root} to plain mdast JSON.
2743
2743
  *
@@ -2819,7 +2819,7 @@ declare class Mdast {
2819
2819
  *
2820
2820
  * @public
2821
2821
  */
2822
- declare const TomlFrontmatter: FrontmatterCodec;
2822
+ export declare const TomlFrontmatter: FrontmatterCodec;
2823
2823
  //#endregion
2824
2824
  //#region src/YamlFrontmatter.d.ts
2825
2825
  /**
@@ -2845,7 +2845,7 @@ declare const TomlFrontmatter: FrontmatterCodec;
2845
2845
  *
2846
2846
  * @public
2847
2847
  */
2848
- declare const YamlFrontmatter: FrontmatterCodec;
2848
+ export declare const YamlFrontmatter: FrontmatterCodec;
2849
2849
  //#endregion
2850
- export { Blockquote, Break, BreakStyle, BulletChar, Code, CodeBlockStyle, Definition, Delete, type DocumentHeading, type DocumentLink, DocumentSection, Emphasis, EmphasisChar, FenceChar, FlowContent, FootnoteDefinition, FootnoteReference, Frontmatter, type FrontmatterCodec, FrontmatterContent, FrontmatterDecodeError, FrontmatterEncodeError, FrontmatterFormat, FrontmatterFormatMismatchError, FrontmatterMissingError, FrontmatterMissingReason, FrontmatterNewline, type FrontmatterResolveError, type FrontmatterSchemaError, type FrontmatterSchemaResolver, FrontmatterSource, FrontmatterSourceBlock, FrontmatterSourceSplit, FrontmatterValidationError, type FrontmatterWriteError, Heading, HeadingDepth, HeadingStyle, Html, Image, ImageReference, InlineCode, JsonFrontmatter, Link, type LinkBearingNode, LinkReference, List, ListContent, ListDelimiter, ListItem, Markdown, MarkdownDiagnostic, MarkdownDialect, MarkdownDocument, MarkdownEdit, MarkdownFormat, MarkdownFormattingOptions, MarkdownFrontmatter, MarkdownModificationError, MarkdownModificationErrorCode, MarkdownNode, type MarkdownNodeOfType, type MarkdownNodeType, MarkdownParseError, MarkdownParseErrorCode, MarkdownParseOptions, type MarkdownPath, MarkdownRange, type MarkdownRangeLike, type MarkdownSegment, MarkdownStringifyError, MarkdownVisitor, MarkdownVisitorEvent, Mdast, MdastDecodeError, type MdastNode, MdxFlowExpression, MdxJsxAttribute, MdxJsxAttributeContent, MdxJsxAttributeValueExpression, MdxJsxExpressionAttribute, MdxJsxFlowElement, MdxJsxTextElement, MdxTextExpression, MdxjsEsm, Paragraph, PhrasingContent, Point, Position, ReferenceType, Root, RowContent, SchemaDeclaration, SchemaDeclarationByName, SchemaDeclarationByPath, SchemaDeclarationByUrl, SchemaDeclarationInline, SchemaDeclarationInvalidError, SchemaDeclarationMissingError, SchemaNameUnknownError, SchemaResolver, SchemaVersionUnresolvableError, type SectionHeadingMatch, type SectionQueryOptions, Strong, Table, TableAlign, TableCell, TableContent, TableRow, Text, ThematicBreak, ThematicBreakChar, TomlFrontmatter, YamlFrontmatter };
2850
+ export type { DocumentHeading, DocumentLink, FrontmatterCodec, FrontmatterResolveError, FrontmatterSchemaError, FrontmatterSchemaResolver, FrontmatterWriteError, LinkBearingNode, MarkdownNodeOfType, MarkdownNodeType, MarkdownPath, MarkdownRangeLike, MarkdownSegment, MdastNode, SectionHeadingMatch, SectionQueryOptions };
2851
2851
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/markdown",
3
- "version": "0.8.1",
3
+ "version": "0.9.1",
4
4
  "private": false,
5
5
  "description": "CommonMark and GFM markdown parse, edit and transform schemas for Effect",
6
6
  "keywords": [
@@ -39,10 +39,10 @@
39
39
  "./package.json": "./package.json"
40
40
  },
41
41
  "peerDependencies": {
42
- "@effected/jsonc": "^0.8.1",
43
- "@effected/toml": "^0.5.0",
44
- "@effected/yaml": "^0.12.0",
45
- "effect": "4.0.0-rc.109"
42
+ "@effected/jsonc": "^0.9.0",
43
+ "@effected/toml": "^0.6.0",
44
+ "@effected/yaml": "^0.14.0",
45
+ "effect": "4.0.0-rc.112"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@effected/jsonc": {