UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

9 lines (8 loc) 275 B
import type { EditorState } from '@atlaskit/editor-prosemirror/state'; type NodeCount = Record<string, number>; type NodesCount = { extensionNodeCount: NodeCount; nodeCount: NodeCount; }; export declare function countNodes(state: EditorState): NodesCount; export {};