import type { TiptapNode, ElementalContent, ElementalTextContentNode, TiptapDoc } from "../../../types"; /** * Convert an Elemental elements array (type: "string" | "link" sub-elements with boolean * formatting flags) into TipTap nodes. Handles variables ({{var}}) and newlines (\n → hardBreak). */ export declare function convertElementsArrayToTiptapNodes(elements: ElementalTextContentNode[]): TiptapNode[]; export declare function parseMDContent(content: string): TiptapNode[]; export interface ConvertElementalToTiptapOptions { channel?: string; } export declare function convertElementalToTiptap(elemental: ElementalContent | null | undefined, // Allow null or undefined options?: ConvertElementalToTiptapOptions): TiptapDoc;