import type { Node as ProsemirrorNode } from 'prosemirror-model';
import type { GenericNode } from 'mystjs';
import type { Root } from '../../spec';
import type { MdastOptions } from '../types';
export declare function toMdast(doc: ProsemirrorNode, opts?: MdastOptions): Root;
export declare function toMdastSnippet(doc: ProsemirrorNode, opts?: MdastOptions): GenericNode;
