1 | import { NodeSpec } from 'prosemirror-model';
|
2 | import { LayoutColumnDefinition } from './layout-column';
|
3 | import { BreakoutMarkDefinition } from '../marks';
|
4 |
|
5 |
|
6 |
|
7 | export declare type LayoutSectionBaseDefinition = {
|
8 | type: 'layoutSection';
|
9 | marks?: Array<BreakoutMarkDefinition>;
|
10 | content: Array<LayoutColumnDefinition>;
|
11 | };
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
19 | type: 'layoutSection';
|
20 | marks?: Array<BreakoutMarkDefinition>;
|
21 | |
22 |
|
23 |
|
24 |
|
25 |
|
26 | content: Array<LayoutColumnDefinition>;
|
27 | };
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
|
33 | type: 'layoutSection';
|
34 | marks?: Array<BreakoutMarkDefinition>;
|
35 | |
36 |
|
37 |
|
38 |
|
39 |
|
40 | content: Array<LayoutColumnDefinition>;
|
41 | };
|
42 | export declare type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition;
|
43 | export declare const layoutSection: NodeSpec;
|
44 | export declare const layoutSectionWithSingleColumn: NodeSpec;
|