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