@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
40 lines (39 loc) • 817 B
TypeScript
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
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;
}>;