1 | import { NodeSpec, Node as PMNode } from 'prosemirror-model';
|
2 | import { ExtensionContent } from './doc';
|
3 | import { BreakoutMarkDefinition } from '../marks';
|
4 | /**
|
5 | * @name expand_node
|
6 | */
|
7 | export interface ExpandDefinition {
|
8 | type: 'expand';
|
9 | attrs: {
|
10 | title?: string;
|
11 | };
|
12 | content: ExtensionContent;
|
13 | marks?: Array<BreakoutMarkDefinition>;
|
14 | }
|
15 | export declare const expand: NodeSpec;
|
16 | export declare const toJSON: (node: PMNode<any>) => {
|
17 | attrs: {
|
18 | [key: string]: any;
|
19 | };
|
20 | };
|