1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { TaskItemDefinition as TaskItemNode } from './task-item';
|
3 | export interface TaskListContent extends Array<TaskItemNode | TaskListDefinition> {
|
4 | 0: TaskItemNode;
|
5 | }
|
6 | /**
|
7 | * @name taskList_node
|
8 | */
|
9 | export interface TaskListDefinition {
|
10 | type: 'taskList';
|
11 | /**
|
12 | * @minItems 1
|
13 | * @allowUnsupportedBlock true
|
14 | */
|
15 | content: TaskListContent;
|
16 | attrs: {
|
17 | localId: string;
|
18 | };
|
19 | }
|
20 | export declare const taskListSelector: string;
|
21 | export declare const taskList: NodeSpec;
|