1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { ParagraphDefinition as Paragraph } from './paragraph';
|
3 | import { OrderedListDefinition as OrderedList } from './ordered-list';
|
4 | import { BulletListDefinition as BulletList } from './bullet-list';
|
5 | import { MediaSingleDefinition as MediaSingle } from './media-single';
|
6 | import { CodeBlockDefinition as CodeBlock } from './code-block';
|
7 | export interface ListItemArray extends Array<Paragraph | OrderedList | BulletList | MediaSingle | CodeBlock> {
|
8 | 0: Paragraph | MediaSingle | CodeBlock;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 | export interface ListItemDefinition {
|
14 | type: 'listItem';
|
15 | |
16 |
|
17 |
|
18 | content: ListItemArray;
|
19 | }
|
20 | export declare const listItem: NodeSpec;
|