import type { ElementalNode } from "@/types/elemental.types"; export interface TiptapNode { type: string; attrs?: Record; content?: TiptapNode[]; marks?: TiptapMark[]; text?: string; } export interface TiptapMark { type: string; attrs?: Record; } export interface TiptapDoc { type: "doc"; content: TiptapNode[]; } export declare function convertTiptapToElemental(tiptap: TiptapDoc): ElementalNode[];