export interface MystText { type: "text"; value: string; } export interface MystStrong { type: "strong"; children: MystInline[]; } export interface MystEmphasis { type: "emphasis"; children: MystInline[]; } export interface MystInlineCode { type: "inline_code"; value: string; } export interface MystInlineMath { type: "inline_math"; value: string; } export interface MystLink { type: "link"; target: string; children?: MystInline[]; } export interface MystRole { type: "role"; name: string; content: string; } export type MystInline = MystText | MystStrong | MystEmphasis | MystInlineCode | MystInlineMath | MystLink | MystRole; export interface MystHeading { type: "heading"; level: number; children: MystInline[]; } export interface MystParagraph { type: "paragraph"; children: MystInline[]; } export interface MystCodeBlock { type: "code_block"; value: string; language?: string; } export interface MystThematicBreak { type: "thematic_break"; } export interface MystBlockquote { type: "blockquote"; children: MystBlock[]; } export interface MystImage { type: "image"; src: string; alt?: string; } export interface MystMathBlock { type: "math_block"; value: string; } export interface MystListItem { type: "list_item"; children: MystBlock[]; } export interface MystOrderedList { type: "ordered_list"; children: MystListItem[]; startIndex?: number; } export interface MystUnorderedList { type: "unordered_list"; children: MystListItem[]; } export interface MystDirective { type: "directive"; name: string; argument?: string; options: Record; body?: string; children?: MystBlock[]; } export interface MystTable { type: "table"; headerRows?: number; children: MystTableRow[]; } export interface MystTableRow { type: "table_row"; cells: MystTableCell[]; } export interface MystTableCell { type: "table_cell"; children: MystInline[]; } export type MystBlock = MystHeading | MystParagraph | MystCodeBlock | MystThematicBreak | MystBlockquote | MystImage | MystMathBlock | MystOrderedList | MystUnorderedList | MystDirective | MystTable; export interface MystDocument { type: "document"; tree_json: string; metadata: Record; data: Record; } //# sourceMappingURL=myst-document.d.ts.map