1 | import type { GetStaticAndDynamic, ValueOf } from '@remirror/core-types';
|
2 | import { AttributesExtension } from './attributes-extension';
|
3 | import { CommandsExtension } from './commands-extension';
|
4 | import { DecorationsExtension, DecorationsOptions } from './decorations-extension';
|
5 | import { DocChangedExtension } from './doc-changed-extension';
|
6 | import { HelpersExtension } from './helpers-extension';
|
7 | import { InputRulesExtension, InputRulesOptions } from './input-rules-extension';
|
8 | import { KeymapExtension, KeymapOptions } from './keymap-extension';
|
9 | import { NodeViewsExtension } from './node-views-extension';
|
10 | import { PasteRulesExtension } from './paste-rules-extension';
|
11 | import { PluginsExtension } from './plugins-extension';
|
12 | import { SchemaExtension } from './schema-extension';
|
13 | import { SuggestExtension, SuggestOptions } from './suggest-extension';
|
14 | import { TagsExtension } from './tags-extension';
|
15 | import { UploadExtension } from './upload-extension';
|
16 | export interface BuiltinOptions extends SuggestOptions, KeymapOptions, DecorationsOptions, InputRulesOptions {
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export declare function builtinPreset(options?: GetStaticAndDynamic<BuiltinOptions>): BuiltinPreset[];
|
40 | export type BuiltinPreset = TagsExtension | SchemaExtension | AttributesExtension | PluginsExtension | InputRulesExtension | PasteRulesExtension | NodeViewsExtension | SuggestExtension | CommandsExtension | HelpersExtension | KeymapExtension | DocChangedExtension | UploadExtension | DecorationsExtension;
|
41 | declare global {
|
42 | namespace Remirror {
|
43 | interface ManagerSettings {
|
44 | |
45 |
|
46 |
|
47 | builtin?: GetStaticAndDynamic<BuiltinOptions>;
|
48 | }
|
49 | |
50 |
|
51 |
|
52 | type Builtin = BuiltinPreset;
|
53 | |
54 |
|
55 |
|
56 | type Extensions = ValueOf<AllExtensions>;
|
57 | }
|
58 | }
|