import type { Ast } from "./schemas.js"; /** * Serialize an mdast-shaped AST (Root) back to a Markdown string. * - GFM is enabled by default for table/task-list/strikethrough serialization. * - Output always ends with a newline to follow CommonMark/remark canonical formatting. * * @example * ```ts * import { parseMarkdown, serializeAst } from "@opral/markdown-wc/ast" * * const markdown = serializeAst(parseMarkdown("# Heading")) * // => "# Heading\n" * ``` */ export declare function serializeAst(ast: Ast): string; export type { Ast }; //# sourceMappingURL=serialize-ast.d.ts.map