import type { BlockContent, Blockquote, Code, DefinitionContent, Heading, InlineCode, List, Paragraph, Root, Table, Text, ThematicBreak } from "mdast"; export type Alignment = "left" | "right" | "center" | null; export declare function text(value: string): Text; export declare function inlineCode(value: string): InlineCode; export declare function paragraph(children: Array): Paragraph; export declare function heading(depth: 1 | 2 | 3 | 4 | 5 | 6, value: string): Heading; export declare function code(value: string, lang?: string): Code; export declare function blockquote(children: Array): Blockquote; export declare function thematicBreak(): ThematicBreak; export declare function bulletList(items: Array): List; export declare function inlineBulletList(items: readonly string[]): List; /** * A cell holding a token the tool produced rather than prose. Inline code is * the honest node for one: the serializer neither escapes inside it nor reads * an underscore as emphasis, so a member named `__init__` survives as itself. */ export type CodeCell = { readonly code: string; }; export type Cell = string | CodeCell; /** An absent value has no token to quote, so it stays an empty cell. */ export declare function codeCell(value: string): Cell; export declare function table(headers: readonly string[], rows: readonly (readonly Cell[])[], align?: readonly Alignment[]): Table; export declare function section(title: string, depth?: 2 | 3 | 4): Root["children"];