@ckeditor/ckeditor5-link 48.2.0 → 48.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,114 +1,114 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module link/ui/linkprovideritemsview
7
- */
8
- import { ButtonView, View, ListView, ViewCollection } from '@ckeditor/ckeditor5-ui';
9
- import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
10
- import '../../theme/linkprovideritems.css';
6
+ * @module link/ui/linkprovideritemsview
7
+ */
8
+ import { ButtonView, View, ListView, ViewCollection } from "@ckeditor/ckeditor5-ui";
9
+ import { FocusTracker, KeystrokeHandler, type Locale } from "@ckeditor/ckeditor5-utils";
10
+ import "../../theme/linkprovideritems.css";
11
11
  /**
12
- * The link provider items view.
13
- */
12
+ * The link provider items view.
13
+ */
14
14
  export declare class LinkProviderItemsView extends View {
15
- /**
16
- * Tracks information about the list of links.
17
- *
18
- * @observable
19
- */
20
- hasItems: boolean;
21
- /**
22
- * The header label of the view.
23
- *
24
- * @observable
25
- */
26
- title: string;
27
- /**
28
- * The text displayed when no links are available.
29
- *
30
- * @observable
31
- */
32
- emptyListPlaceholder: string;
33
- /**
34
- * Tracks information about DOM focus in the form.
35
- */
36
- readonly focusTracker: FocusTracker;
37
- /**
38
- * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
39
- */
40
- readonly keystrokes: KeystrokeHandler;
41
- /**
42
- * The Back button view displayed in the header.
43
- */
44
- backButtonView: ButtonView;
45
- /**
46
- * The List view of links buttons.
47
- */
48
- listView: ListView;
49
- /**
50
- * The collection of child views, which is bind with the `listView`.
51
- */
52
- readonly listChildren: ViewCollection<ButtonView>;
53
- /**
54
- * The view displayed when the list is empty.
55
- */
56
- emptyListInformation: View;
57
- /**
58
- * A collection of child views.
59
- */
60
- children: ViewCollection;
61
- /**
62
- * A collection of views that can be focused in the form.
63
- */
64
- private readonly _focusables;
65
- /**
66
- * Helps cycling over {@link #_focusables} in the form.
67
- */
68
- private readonly _focusCycler;
69
- /**
70
- * Creates an instance of the {@link module:link/ui/linkprovideritemsview~LinkProviderItemsView} class.
71
- *
72
- * Also see {@link #render}.
73
- *
74
- * @param locale The localization services instance.
75
- */
76
- constructor(locale: Locale);
77
- /**
78
- * @inheritDoc
79
- */
80
- render(): void;
81
- /**
82
- * @inheritDoc
83
- */
84
- destroy(): void;
85
- /**
86
- * Focuses the fist {@link #_focusables} in the form.
87
- */
88
- focus(): void;
89
- /**
90
- * Creates a view for the list at the bottom.
91
- */
92
- private _createListView;
93
- /**
94
- * Creates a back button view that cancels the form.
95
- */
96
- private _createBackButton;
97
- /**
98
- * Creates a header view for the form.
99
- */
100
- private _createHeaderView;
101
- /**
102
- * Creates an info view for an empty list.
103
- */
104
- private _createEmptyLinksListItemView;
15
+ /**
16
+ * Tracks information about the list of links.
17
+ *
18
+ * @observable
19
+ */
20
+ hasItems: boolean;
21
+ /**
22
+ * The header label of the view.
23
+ *
24
+ * @observable
25
+ */
26
+ title: string;
27
+ /**
28
+ * The text displayed when no links are available.
29
+ *
30
+ * @observable
31
+ */
32
+ emptyListPlaceholder: string;
33
+ /**
34
+ * Tracks information about DOM focus in the form.
35
+ */
36
+ readonly focusTracker: FocusTracker;
37
+ /**
38
+ * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
39
+ */
40
+ readonly keystrokes: KeystrokeHandler;
41
+ /**
42
+ * The Back button view displayed in the header.
43
+ */
44
+ backButtonView: ButtonView;
45
+ /**
46
+ * The List view of links buttons.
47
+ */
48
+ listView: ListView;
49
+ /**
50
+ * The collection of child views, which is bind with the `listView`.
51
+ */
52
+ readonly listChildren: ViewCollection<ButtonView>;
53
+ /**
54
+ * The view displayed when the list is empty.
55
+ */
56
+ emptyListInformation: View;
57
+ /**
58
+ * A collection of child views.
59
+ */
60
+ children: ViewCollection;
61
+ /**
62
+ * A collection of views that can be focused in the form.
63
+ */
64
+ private readonly _focusables;
65
+ /**
66
+ * Helps cycling over {@link #_focusables} in the form.
67
+ */
68
+ private readonly _focusCycler;
69
+ /**
70
+ * Creates an instance of the {@link module:link/ui/linkprovideritemsview~LinkProviderItemsView} class.
71
+ *
72
+ * Also see {@link #render}.
73
+ *
74
+ * @param locale The localization services instance.
75
+ */
76
+ constructor(locale: Locale);
77
+ /**
78
+ * @inheritDoc
79
+ */
80
+ override render(): void;
81
+ /**
82
+ * @inheritDoc
83
+ */
84
+ override destroy(): void;
85
+ /**
86
+ * Focuses the fist {@link #_focusables} in the form.
87
+ */
88
+ focus(): void;
89
+ /**
90
+ * Creates a view for the list at the bottom.
91
+ */
92
+ private _createListView;
93
+ /**
94
+ * Creates a back button view that cancels the form.
95
+ */
96
+ private _createBackButton;
97
+ /**
98
+ * Creates a header view for the form.
99
+ */
100
+ private _createHeaderView;
101
+ /**
102
+ * Creates an info view for an empty list.
103
+ */
104
+ private _createEmptyLinksListItemView;
105
105
  }
106
106
  /**
107
- * Fired when the links view is canceled, for example with a click on {@link ~LinkProviderItemsView#backButtonView}.
108
- *
109
- * @eventName ~LinkProviderItemsView#cancel
110
- */
107
+ * Fired when the links view is canceled, for example with a click on {@link ~LinkProviderItemsView#backButtonView}.
108
+ *
109
+ * @eventName ~LinkProviderItemsView#cancel
110
+ */
111
111
  export type LinkProvidersCancelEvent = {
112
- name: 'cancel';
113
- args: [];
112
+ name: "cancel";
113
+ args: [];
114
114
  };
@@ -1,31 +1,31 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module link/unlinkcommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module link/unlinkcommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The unlink command. It is used by the {@link module:link/link~Link link plugin}.
11
- */
10
+ * The unlink command. It is used by the {@link module:link/link~Link link plugin}.
11
+ */
12
12
  export declare class UnlinkCommand extends Command {
13
- /**
14
- * @inheritDoc
15
- */
16
- refresh(): void;
17
- /**
18
- * Executes the command.
19
- *
20
- * When the selection is collapsed, it removes the `linkHref` attribute from each node with the same `linkHref` attribute value.
21
- * When the selection is non-collapsed, it removes the `linkHref` attribute from each node in selected ranges.
22
- *
23
- * # Decorators
24
- *
25
- * If {@link module:link/linkconfig~LinkConfig#decorators `config.link.decorators`} is specified,
26
- * all configured decorators are removed together with the `linkHref` attribute.
27
- *
28
- * @fires execute
29
- */
30
- execute(): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ override refresh(): void;
17
+ /**
18
+ * Executes the command.
19
+ *
20
+ * When the selection is collapsed, it removes the `linkHref` attribute from each node with the same `linkHref` attribute value.
21
+ * When the selection is non-collapsed, it removes the `linkHref` attribute from each node in selected ranges.
22
+ *
23
+ * # Decorators
24
+ *
25
+ * If {@link module:link/linkconfig~LinkConfig#decorators `config.link.decorators`} is specified,
26
+ * all configured decorators are removed together with the `linkHref` attribute.
27
+ *
28
+ * @fires execute
29
+ */
30
+ override execute(): void;
31
31
  }
@@ -1,61 +1,61 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module link/utils/automaticdecorators
7
- */
8
- import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
9
- import type { DowncastDispatcher, ModelDocumentSelection, ModelItem, ModelSelection } from '@ckeditor/ckeditor5-engine';
10
- import type { NormalizedLinkDecoratorAutomaticDefinition } from '../utils.js';
6
+ * @module link/utils/automaticdecorators
7
+ */
8
+ import { type ArrayOrItem } from "@ckeditor/ckeditor5-utils";
9
+ import type { DowncastDispatcher, ModelDocumentSelection, ModelItem, ModelSelection } from "@ckeditor/ckeditor5-engine";
10
+ import type { NormalizedLinkDecoratorAutomaticDefinition } from "../utils.js";
11
11
  /**
12
- * Helper class that ties together all {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition} and provides
13
- * the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#attributeToElement downcast dispatchers} for them.
14
- */
12
+ * Helper class that ties together all {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition} and provides
13
+ * the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#attributeToElement downcast dispatchers} for them.
14
+ */
15
15
  export declare class AutomaticLinkDecorators {
16
- /**
17
- * Stores the definition of {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition automatic decorators}.
18
- * This data is used as a source for a downcast dispatcher to create a proper conversion to output data.
19
- */
20
- private _definitions;
21
- /**
22
- * A callback that checks if a decorator can be applied to a given element.
23
- * Returns `true` if there is a conflict preventing the decorator from being applied.
24
- */
25
- private _conflictChecker?;
26
- /**
27
- * Gives information about the number of decorators stored in the {@link module:link/utils/automaticdecorators~AutomaticLinkDecorators}
28
- * instance.
29
- */
30
- get length(): number;
31
- /**
32
- * Sets a callback that checks if a decorator can be applied to a given element.
33
- *
34
- * @param checker A function that returns `true` if there is a conflict preventing the decorator from being applied.
35
- */
36
- setConflictChecker(checker: LinkDecoratorConflictChecker): void;
37
- /**
38
- * Adds automatic decorator objects or an array with them to be used during downcasting.
39
- *
40
- * @param item A configuration object of automatic rules for decorating links. It might also be an array of such objects.
41
- */
42
- add(item: ArrayOrItem<NormalizedLinkDecoratorAutomaticDefinition>): void;
43
- /**
44
- * Provides the conversion helper used in the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add} method.
45
- *
46
- * @returns A dispatcher function used as conversion helper in {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add}.
47
- */
48
- getDispatcher(): (dispatcher: DowncastDispatcher) => void;
49
- /**
50
- * Provides the conversion helper used in the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add} method
51
- * when linking images.
52
- *
53
- * @returns A dispatcher function used as conversion helper in {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add}.
54
- */
55
- getDispatcherForLinkedImage(): (dispatcher: DowncastDispatcher) => void;
16
+ /**
17
+ * Stores the definition of {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition automatic decorators}.
18
+ * This data is used as a source for a downcast dispatcher to create a proper conversion to output data.
19
+ */
20
+ private _definitions;
21
+ /**
22
+ * A callback that checks if a decorator can be applied to a given element.
23
+ * Returns `true` if there is a conflict preventing the decorator from being applied.
24
+ */
25
+ private _conflictChecker?;
26
+ /**
27
+ * Gives information about the number of decorators stored in the {@link module:link/utils/automaticdecorators~AutomaticLinkDecorators}
28
+ * instance.
29
+ */
30
+ get length(): number;
31
+ /**
32
+ * Sets a callback that checks if a decorator can be applied to a given element.
33
+ *
34
+ * @param checker A function that returns `true` if there is a conflict preventing the decorator from being applied.
35
+ */
36
+ setConflictChecker(checker: LinkDecoratorConflictChecker): void;
37
+ /**
38
+ * Adds automatic decorator objects or an array with them to be used during downcasting.
39
+ *
40
+ * @param item A configuration object of automatic rules for decorating links. It might also be an array of such objects.
41
+ */
42
+ add(item: ArrayOrItem<NormalizedLinkDecoratorAutomaticDefinition>): void;
43
+ /**
44
+ * Provides the conversion helper used in the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add} method.
45
+ *
46
+ * @returns A dispatcher function used as conversion helper in {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add}.
47
+ */
48
+ getDispatcher(): (dispatcher: DowncastDispatcher) => void;
49
+ /**
50
+ * Provides the conversion helper used in the {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add} method
51
+ * when linking images.
52
+ *
53
+ * @returns A dispatcher function used as conversion helper in {@link module:engine/conversion/downcasthelpers~DowncastHelpers#add}.
54
+ */
55
+ getDispatcherForLinkedImage(): (dispatcher: DowncastDispatcher) => void;
56
56
  }
57
57
  /**
58
- * A callback that checks if a decorator can be applied to a given element.
59
- * Returns `true` if there is a conflict preventing the decorator from being applied.
60
- */
58
+ * A callback that checks if a decorator can be applied to a given element.
59
+ * Returns `true` if there is a conflict preventing the decorator from being applied.
60
+ */
61
61
  export type LinkDecoratorConflictChecker = (decorator: NormalizedLinkDecoratorAutomaticDefinition, modelItem: ModelItem | ModelSelection | ModelDocumentSelection) => boolean | undefined;
@@ -1,43 +1,43 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module link/utils/conflictingdecorators
7
- */
6
+ * @module link/utils/conflictingdecorators
7
+ */
8
8
  /**
9
- * Checks if two decorators conflict with each other.
10
- *
11
- * Decorators conflict when they share the same HTML attribute names (excluding mergeable attributes)
12
- * or style properties.
13
- *
14
- * @internal
15
- * @param a The first decorator.
16
- * @param b The second decorator.
17
- */
9
+ * Checks if two decorators conflict with each other.
10
+ *
11
+ * Decorators conflict when they share the same HTML attribute names (excluding mergeable attributes)
12
+ * or style properties.
13
+ *
14
+ * @internal
15
+ * @param a The first decorator.
16
+ * @param b The second decorator.
17
+ */
18
18
  export declare function areDecoratorsConflicting(a: DecoratorLike, b: DecoratorLike): boolean;
19
19
  /**
20
- * Resolves conflicting manual decorators by automatically disabling decorators that share
21
- * the same HTML attributes with newly enabled decorators.
22
- *
23
- * @internal
24
- * @param options Configuration object.
25
- * @param options.decoratorStates Initial decorator states.
26
- * @param options.allDecorators Collection of all manual decorators.
27
- * @returns Updated decorator states with conflicts resolved.
28
- */
20
+ * Resolves conflicting manual decorators by automatically disabling decorators that share
21
+ * the same HTML attributes with newly enabled decorators.
22
+ *
23
+ * @internal
24
+ * @param options Configuration object.
25
+ * @param options.decoratorStates Initial decorator states.
26
+ * @param options.allDecorators Collection of all manual decorators.
27
+ * @returns Updated decorator states with conflicts resolved.
28
+ */
29
29
  export declare function resolveConflictingDecorators({ decoratorStates, allDecorators }: {
30
- decoratorStates: Record<string, boolean>;
31
- allDecorators: Array<DecoratorLike & {
32
- value?: boolean;
33
- }>;
30
+ decoratorStates: Record<string, boolean>;
31
+ allDecorators: Array<DecoratorLike & {
32
+ value?: boolean;
33
+ }>;
34
34
  }): Record<string, boolean>;
35
35
  /**
36
- * Decorator-like object representing attributes and styles.
37
- */
36
+ * Decorator-like object representing attributes and styles.
37
+ */
38
38
  type DecoratorLike = {
39
- id: string;
40
- attributes?: Record<string, string>;
41
- styles?: Record<string, string>;
39
+ id: string;
40
+ attributes?: Record<string, string>;
41
+ styles?: Record<string, string>;
42
42
  };
43
43
  export {};
@@ -1,67 +1,64 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module link/utils/manualdecorator
7
- */
8
- import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
9
- import type { MatcherObjectPattern } from '@ckeditor/ckeditor5-engine';
10
- import type { NormalizedLinkDecoratorManualDefinition } from '../utils.js';
11
- declare const LinkManualDecorator_base: {
12
- new (): import("@ckeditor/ckeditor5-utils").Observable;
13
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
14
- };
6
+ * @module link/utils/manualdecorator
7
+ */
8
+ import { type ArrayOrItem, type ObservableMixinConstructor } from "@ckeditor/ckeditor5-utils";
9
+ import type { MatcherObjectPattern } from "@ckeditor/ckeditor5-engine";
10
+ import type { NormalizedLinkDecoratorManualDefinition } from "../utils.js";
11
+ declare const LinkManualDecoratorBase: ObservableMixinConstructor;
15
12
  /**
16
- * Helper class that stores manual decorators with observable {@link module:link/utils/manualdecorator~LinkManualDecorator#value}
17
- * to support integration with the UI state. An instance of this class is a model with the state of individual manual decorators.
18
- * These decorators are kept as collections in {@link module:link/linkcommand~LinkCommand#manualDecorators}.
19
- */
20
- export declare class LinkManualDecorator extends /* #__PURE__ */ LinkManualDecorator_base {
21
- /**
22
- * An ID of a manual decorator which is the name of the attribute in the model, for example: 'linkManualDecorator0'.
23
- */
24
- id: string;
25
- /**
26
- * The value of the current manual decorator. It reflects its state from the UI.
27
- *
28
- * @observable
29
- */
30
- value: boolean | undefined;
31
- /**
32
- * The default value of manual decorator.
33
- */
34
- defaultValue?: boolean;
35
- /**
36
- * The label used in the user interface to toggle the manual decorator.
37
- */
38
- label: string;
39
- /**
40
- * A set of attributes added to downcasted data when the decorator is activated for a specific link.
41
- * Attributes should be added in a form of attributes defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
42
- */
43
- attributes?: Record<string, string>;
44
- /**
45
- * A set of classes added to downcasted data when the decorator is activated for a specific link.
46
- * Classes should be added in a form of classes defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
47
- */
48
- classes?: ArrayOrItem<string>;
49
- /**
50
- * A set of styles added to downcasted data when the decorator is activated for a specific link.
51
- * Styles should be added in a form of styles defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
52
- */
53
- styles?: Record<string, string>;
54
- /**
55
- * Creates a new instance of {@link module:link/utils/manualdecorator~LinkManualDecorator}.
56
- *
57
- * @param options The configuration object.
58
- */
59
- constructor({ id, label, attributes, classes, styles, defaultValue }: NormalizedLinkDecoratorManualDefinition);
60
- /**
61
- * Returns {@link module:engine/view/matcher~MatcherPattern} with decorator attributes.
62
- *
63
- * @internal
64
- */
65
- _createPattern(): MatcherObjectPattern;
13
+ * Helper class that stores manual decorators with observable {@link module:link/utils/manualdecorator~LinkManualDecorator#value}
14
+ * to support integration with the UI state. An instance of this class is a model with the state of individual manual decorators.
15
+ * These decorators are kept as collections in {@link module:link/linkcommand~LinkCommand#manualDecorators}.
16
+ */
17
+ export declare class LinkManualDecorator extends LinkManualDecoratorBase {
18
+ /**
19
+ * An ID of a manual decorator which is the name of the attribute in the model, for example: 'linkManualDecorator0'.
20
+ */
21
+ id: string;
22
+ /**
23
+ * The value of the current manual decorator. It reflects its state from the UI.
24
+ *
25
+ * @observable
26
+ */
27
+ value: boolean | undefined;
28
+ /**
29
+ * The default value of manual decorator.
30
+ */
31
+ defaultValue?: boolean;
32
+ /**
33
+ * The label used in the user interface to toggle the manual decorator.
34
+ */
35
+ label: string;
36
+ /**
37
+ * A set of attributes added to downcasted data when the decorator is activated for a specific link.
38
+ * Attributes should be added in a form of attributes defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
39
+ */
40
+ attributes?: Record<string, string>;
41
+ /**
42
+ * A set of classes added to downcasted data when the decorator is activated for a specific link.
43
+ * Classes should be added in a form of classes defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
44
+ */
45
+ classes?: ArrayOrItem<string>;
46
+ /**
47
+ * A set of styles added to downcasted data when the decorator is activated for a specific link.
48
+ * Styles should be added in a form of styles defined in {@link module:engine/view/elementdefinition~ViewElementDefinition}.
49
+ */
50
+ styles?: Record<string, string>;
51
+ /**
52
+ * Creates a new instance of {@link module:link/utils/manualdecorator~LinkManualDecorator}.
53
+ *
54
+ * @param options The configuration object.
55
+ */
56
+ constructor({ id, label, attributes, classes, styles, defaultValue }: NormalizedLinkDecoratorManualDefinition);
57
+ /**
58
+ * Returns {@link module:engine/view/matcher~MatcherPattern} with decorator attributes.
59
+ *
60
+ * @internal
61
+ */
62
+ _createPattern(): MatcherObjectPattern;
66
63
  }
67
64
  export {};