UNPKG

@atlaskit/adf-schema

Version:

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

41 lines (40 loc) • 897 B
import type { ADFNode } from '@atlaskit/adf-schema-generator/adfNode'; import type { ADFCommonNodeSpec } from '@atlaskit/adf-schema-generator/types/ADFNodeSpec'; export declare const heading: ADFNode<[ string, 'with_alignment', 'with_indentation', 'with_no_marks' ], ADFCommonNodeSpec & { content: never[]; ignore: never[]; marks: any[]; } & { content: never[]; ignore: never[]; marks: any[]; } & { content: never[]; ignore: never[]; marks: never[]; noMarks: true; }>; export declare const headingWithMarks: ADFNode<[ string, 'with_alignment', 'with_indentation', 'with_no_marks' ], ADFCommonNodeSpec & { content: never[]; ignore: never[]; marks: any[]; } & { content: never[]; ignore: never[]; marks: any[]; } & { content: never[]; ignore: never[]; marks: never[]; noMarks: true; }>;