import { NodeSpec } from 'prosemirror-model'; import { LayoutColumnDefinition } from './layout-column'; import { BreakoutMarkDefinition } from '../marks'; /** * @name layoutSection_node */ export declare type LayoutSectionBaseDefinition = { type: 'layoutSection'; marks?: Array; content: Array; }; /** * Need duplicate `type` and `marks` to make both validator and json-schema satisfied */ /** * @name layoutSection_full_node */ export declare type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & { type: 'layoutSection'; marks?: Array; /** * @minItems 2 * @maxItems 3 * @allowUnsupportedBlock true */ content: Array; }; /** * @stage 0 * @name layoutSection_with_single_column_node */ export declare type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & { type: 'layoutSection'; marks?: Array; /** * @minItems 1 * @maxItems 3 * @allowUnsupportedBlock true */ content: Array; }; export declare type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition; export declare const layoutSection: NodeSpec; export declare const layoutSectionWithSingleColumn: NodeSpec;