import type { JSONContent } from "@tiptap/core"; export type EditorOutput = { markdown: string; json: object; }; /** * Parse a markdown string into a ProseMirror document matching the * HiAiEditor schema. Returns `{ type: "doc", content: [...] }`. * * Browser-only: relies on `window.DOMParser` inside `generateJSON`. */ export declare function markdownToJson(markdown: string): JSONContent;