UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

28 lines (27 loc) • 796 B
import type { ADFNode } from '@atlaskit/adf-schema-generator/adfNode'; import type { ADFCommonNodeSpec, ADFNodeContentZeroOrMoreSpec, ADFNodeContentRangeSpec } from '@atlaskit/adf-schema-generator/types/ADFNodeSpec'; export declare const layoutSection: ADFNode<[ string, 'with_single_column', 'full' ], ADFCommonNodeSpec & { attrs: { columnRuleStyle: { default: null; optional: true; type: 'enum'; values: string[]; }; localId: { default: null; optional: true; type: 'string'; }; }; content: (ADFNodeContentZeroOrMoreSpec | ADFNodeContentRangeSpec)[]; marks: any[]; stage0: true; } & { content: ADFNodeContentRangeSpec[]; marks: any[]; }>;