import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model'; import type { JSONNode } from './types'; /** * Transforms a Prosemirror node into a JSON representation. Compared with * native Prosemirror JSON, this representation ensures we have valid ADF attrs. * * @param node The Prosemirror node to transform. * @param mentionMap A map of mention IDs to their display names. * @returns The JSON representation of the node. */ export declare const toJSON: (node: PMNode, mentionMap?: Record) => JSONNode;