1 | import { Schema } from 'prosemirror-model';
|
2 | /**
|
3 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
4 | **/
|
5 | export interface JIRASchemaConfig {
|
6 | allowLists?: boolean;
|
7 | allowMentions?: boolean;
|
8 | allowEmojis?: boolean;
|
9 | allowLinks?: boolean;
|
10 | allowAdvancedTextFormatting?: boolean;
|
11 | allowCodeBlock?: boolean;
|
12 | allowBlockQuote?: boolean;
|
13 | allowSubSup?: boolean;
|
14 | allowMedia?: boolean;
|
15 | allowTextColor?: boolean;
|
16 | allowTables?: boolean;
|
17 | }
|
18 | /**
|
19 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
20 | **/
|
21 | export default function makeSchema(config: JIRASchemaConfig): Schema<string, string>;
|
22 | /**
|
23 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
24 | **/
|
25 | export declare function isSchemaWithLists(schema: Schema): boolean;
|
26 | /**
|
27 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
28 | **/
|
29 | export declare function isSchemaWithMentions(schema: Schema): boolean;
|
30 | /**
|
31 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
32 | **/
|
33 | export declare function isSchemaWithEmojis(schema: Schema): boolean;
|
34 | /**
|
35 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
36 | **/
|
37 | export declare function isSchemaWithLinks(schema: Schema): boolean;
|
38 | /**
|
39 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
40 | **/
|
41 | export declare function isSchemaWithAdvancedTextFormattingMarks(schema: Schema): boolean;
|
42 | /**
|
43 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
44 | **/
|
45 | export declare function isSchemaWithSubSupMark(schema: Schema): boolean;
|
46 | /**
|
47 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
48 | **/
|
49 | export declare function isSchemaWithCodeBlock(schema: Schema): boolean;
|
50 | /**
|
51 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
52 | **/
|
53 | export declare function isSchemaWithBlockQuotes(schema: Schema): boolean;
|
54 | /**
|
55 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
56 | **/
|
57 | export declare function isSchemaWithMedia(schema: Schema): boolean;
|
58 | /**
|
59 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
60 | **/
|
61 | export declare function isSchemaWithTextColor(schema: Schema): boolean;
|
62 | /**
|
63 | * @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
64 | **/
|
65 | export declare function isSchemaWithTables(schema: Schema): boolean;
|