@atlaskit/jql-editor 6.2.2 → 6.3.0

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.
@@ -13,653 +13,7 @@ import { type PortalActions } from '../ui/jql-editor-portal-provider/types';
13
13
  import { type HydratedDeprecatedField, type HydratedProject, type HydratedGoal, type HydratedTeam, type HydratedUser, type HydratedValue } from '../ui/jql-editor/types';
14
14
  import { type AutocompletePosition, type AutocompleteState, type ContextAwareJQLSuggestions, type CustomErrorComponent, type ExternalMessagesNormalized, type OptionsKey, type Props, type State } from './types';
15
15
  export declare const initialState: State;
16
- export declare const actions: {
17
- onEditorViewBlur: () => Action<State>;
18
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
19
- openAutocompleteOnNextUpdate: () => Action<State>;
20
- closeAutocomplete: () => Action<State>;
21
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
22
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
23
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
24
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
25
- cancelSubscription: () => Action<State>;
26
- setLoading: (loading: boolean) => Action<State>;
27
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
28
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
29
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
30
- updateValidationState: () => Action<State>;
31
- initialiseEditorState: () => Action<State, Props>;
32
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
33
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
34
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
35
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
36
- [key: string]: string;
37
- }, portalActions: PortalActions) => Action<State, Props>;
38
- updateEditorView: (attributes: {
39
- [key: string]: string;
40
- }) => Action<State, Props>;
41
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
42
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
43
- onSearch: () => Action<State>;
44
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
45
- externalErrorMessageViewed: () => Action<State, Props>;
46
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
47
- };
48
- export declare const useStoreActions: HookFunction<null, BoundActions<State, {
49
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
50
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
51
- cancelSubscription: () => Action<State>;
52
- closeAutocomplete: () => Action<State>;
53
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
54
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
55
- externalErrorMessageViewed: () => Action<State, Props>;
56
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
57
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
58
- initialiseEditorState: () => Action<State, Props>;
59
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
60
- [key: string]: string;
61
- }, portalActions: PortalActions) => Action<State, Props>;
62
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
63
- onEditorViewBlur: () => Action<State>;
64
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
65
- onSearch: () => Action<State>;
66
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
67
- openAutocompleteOnNextUpdate: () => Action<State>;
68
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
69
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
70
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
71
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
72
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
73
- setLoading: (loading: boolean) => Action<State>;
74
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
75
- updateEditorView: (attributes: {
76
- [key: string]: string;
77
- }) => Action<State, Props>;
78
- updateValidationState: () => Action<State>;
79
- }>, void>;
80
- export declare const useEditorState: HookFunction<EditorState, BoundActions<State, {
81
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
82
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
83
- cancelSubscription: () => Action<State>;
84
- closeAutocomplete: () => Action<State>;
85
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
86
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
87
- externalErrorMessageViewed: () => Action<State, Props>;
88
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
89
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
90
- initialiseEditorState: () => Action<State, Props>;
91
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
92
- [key: string]: string;
93
- }, portalActions: PortalActions) => Action<State, Props>;
94
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
95
- onEditorViewBlur: () => Action<State>;
96
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
97
- onSearch: () => Action<State>;
98
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
99
- openAutocompleteOnNextUpdate: () => Action<State>;
100
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
101
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
102
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
103
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
104
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
105
- setLoading: (loading: boolean) => Action<State>;
106
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
107
- updateEditorView: (attributes: {
108
- [key: string]: string;
109
- }) => Action<State, Props>;
110
- updateValidationState: () => Action<State>;
111
- }>, void>;
112
- export declare const useEditorView: HookFunction<EditorView | undefined, BoundActions<State, {
113
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
114
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
115
- cancelSubscription: () => Action<State>;
116
- closeAutocomplete: () => Action<State>;
117
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
118
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
119
- externalErrorMessageViewed: () => Action<State, Props>;
120
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
121
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
122
- initialiseEditorState: () => Action<State, Props>;
123
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
124
- [key: string]: string;
125
- }, portalActions: PortalActions) => Action<State, Props>;
126
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
127
- onEditorViewBlur: () => Action<State>;
128
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
129
- onSearch: () => Action<State>;
130
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
131
- openAutocompleteOnNextUpdate: () => Action<State>;
132
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
133
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
134
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
135
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
136
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
137
- setLoading: (loading: boolean) => Action<State>;
138
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
139
- updateEditorView: (attributes: {
140
- [key: string]: string;
141
- }) => Action<State, Props>;
142
- updateValidationState: () => Action<State>;
143
- }>, void>;
144
- export declare const useIsSearching: HookFunction<boolean | undefined, BoundActions<State, {
145
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
146
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
147
- cancelSubscription: () => Action<State>;
148
- closeAutocomplete: () => Action<State>;
149
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
150
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
151
- externalErrorMessageViewed: () => Action<State, Props>;
152
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
153
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
154
- initialiseEditorState: () => Action<State, Props>;
155
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
156
- [key: string]: string;
157
- }, portalActions: PortalActions) => Action<State, Props>;
158
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
159
- onEditorViewBlur: () => Action<State>;
160
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
161
- onSearch: () => Action<State>;
162
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
163
- openAutocompleteOnNextUpdate: () => Action<State>;
164
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
165
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
166
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
167
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
168
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
169
- setLoading: (loading: boolean) => Action<State>;
170
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
171
- updateEditorView: (attributes: {
172
- [key: string]: string;
173
- }) => Action<State, Props>;
174
- updateValidationState: () => Action<State>;
175
- }>, void>;
176
- export declare const useIntl: HookFunction<IntlShape, BoundActions<State, {
177
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
178
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
179
- cancelSubscription: () => Action<State>;
180
- closeAutocomplete: () => Action<State>;
181
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
182
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
183
- externalErrorMessageViewed: () => Action<State, Props>;
184
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
185
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
186
- initialiseEditorState: () => Action<State, Props>;
187
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
188
- [key: string]: string;
189
- }, portalActions: PortalActions) => Action<State, Props>;
190
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
191
- onEditorViewBlur: () => Action<State>;
192
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
193
- onSearch: () => Action<State>;
194
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
195
- openAutocompleteOnNextUpdate: () => Action<State>;
196
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
197
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
198
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
199
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
200
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
201
- setLoading: (loading: boolean) => Action<State>;
202
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
203
- updateEditorView: (attributes: {
204
- [key: string]: string;
205
- }) => Action<State, Props>;
206
- updateValidationState: () => Action<State>;
207
- }>, void>;
208
- export declare const useAutocompleteProvider: HookFunction<AutocompleteProvider, BoundActions<State, {
209
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
210
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
211
- cancelSubscription: () => Action<State>;
212
- closeAutocomplete: () => Action<State>;
213
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
214
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
215
- externalErrorMessageViewed: () => Action<State, Props>;
216
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
217
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
218
- initialiseEditorState: () => Action<State, Props>;
219
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
220
- [key: string]: string;
221
- }, portalActions: PortalActions) => Action<State, Props>;
222
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
223
- onEditorViewBlur: () => Action<State>;
224
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
225
- onSearch: () => Action<State>;
226
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
227
- openAutocompleteOnNextUpdate: () => Action<State>;
228
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
229
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
230
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
231
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
232
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
233
- setLoading: (loading: boolean) => Action<State>;
234
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
235
- updateEditorView: (attributes: {
236
- [key: string]: string;
237
- }) => Action<State, Props>;
238
- updateValidationState: () => Action<State>;
239
- }>, void>;
240
- export declare const useScopedId: HookFunction<string, BoundActions<State, {
241
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
242
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
243
- cancelSubscription: () => Action<State>;
244
- closeAutocomplete: () => Action<State>;
245
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
246
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
247
- externalErrorMessageViewed: () => Action<State, Props>;
248
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
249
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
250
- initialiseEditorState: () => Action<State, Props>;
251
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
252
- [key: string]: string;
253
- }, portalActions: PortalActions) => Action<State, Props>;
254
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
255
- onEditorViewBlur: () => Action<State>;
256
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
257
- onSearch: () => Action<State>;
258
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
259
- openAutocompleteOnNextUpdate: () => Action<State>;
260
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
261
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
262
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
263
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
264
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
265
- setLoading: (loading: boolean) => Action<State>;
266
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
267
- updateEditorView: (attributes: {
268
- [key: string]: string;
269
- }) => Action<State, Props>;
270
- updateValidationState: () => Action<State>;
271
- }>, string>;
272
- export declare const useIdPrefix: HookFunction<string, BoundActions<State, {
273
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
274
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
275
- cancelSubscription: () => Action<State>;
276
- closeAutocomplete: () => Action<State>;
277
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
278
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
279
- externalErrorMessageViewed: () => Action<State, Props>;
280
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
281
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
282
- initialiseEditorState: () => Action<State, Props>;
283
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
284
- [key: string]: string;
285
- }, portalActions: PortalActions) => Action<State, Props>;
286
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
287
- onEditorViewBlur: () => Action<State>;
288
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
289
- onSearch: () => Action<State>;
290
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
291
- openAutocompleteOnNextUpdate: () => Action<State>;
292
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
293
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
294
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
295
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
296
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
297
- setLoading: (loading: boolean) => Action<State>;
298
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
299
- updateEditorView: (attributes: {
300
- [key: string]: string;
301
- }) => Action<State, Props>;
302
- updateValidationState: () => Action<State>;
303
- }>, void>;
304
- export declare const useEditorViewHasFocus: HookFunction<boolean, BoundActions<State, {
305
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
306
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
307
- cancelSubscription: () => Action<State>;
308
- closeAutocomplete: () => Action<State>;
309
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
310
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
311
- externalErrorMessageViewed: () => Action<State, Props>;
312
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
313
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
314
- initialiseEditorState: () => Action<State, Props>;
315
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
316
- [key: string]: string;
317
- }, portalActions: PortalActions) => Action<State, Props>;
318
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
319
- onEditorViewBlur: () => Action<State>;
320
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
321
- onSearch: () => Action<State>;
322
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
323
- openAutocompleteOnNextUpdate: () => Action<State>;
324
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
325
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
326
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
327
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
328
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
329
- setLoading: (loading: boolean) => Action<State>;
330
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
331
- updateEditorView: (attributes: {
332
- [key: string]: string;
333
- }) => Action<State, Props>;
334
- updateValidationState: () => Action<State>;
335
- }>, void>;
336
- export declare const useLineNumbersVisible: HookFunction<boolean, BoundActions<State, {
337
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
338
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
339
- cancelSubscription: () => Action<State>;
340
- closeAutocomplete: () => Action<State>;
341
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
342
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
343
- externalErrorMessageViewed: () => Action<State, Props>;
344
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
345
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
346
- initialiseEditorState: () => Action<State, Props>;
347
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
348
- [key: string]: string;
349
- }, portalActions: PortalActions) => Action<State, Props>;
350
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
351
- onEditorViewBlur: () => Action<State>;
352
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
353
- onSearch: () => Action<State>;
354
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
355
- openAutocompleteOnNextUpdate: () => Action<State>;
356
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
357
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
358
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
359
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
360
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
361
- setLoading: (loading: boolean) => Action<State>;
362
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
363
- updateEditorView: (attributes: {
364
- [key: string]: string;
365
- }) => Action<State, Props>;
366
- updateValidationState: () => Action<State>;
367
- }>, void>;
368
- export declare const useAutocomplete: HookFunction<AutocompleteState, BoundActions<State, {
369
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
370
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
371
- cancelSubscription: () => Action<State>;
372
- closeAutocomplete: () => Action<State>;
373
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
374
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
375
- externalErrorMessageViewed: () => Action<State, Props>;
376
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
377
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
378
- initialiseEditorState: () => Action<State, Props>;
379
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
380
- [key: string]: string;
381
- }, portalActions: PortalActions) => Action<State, Props>;
382
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
383
- onEditorViewBlur: () => Action<State>;
384
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
385
- onSearch: () => Action<State>;
386
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
387
- openAutocompleteOnNextUpdate: () => Action<State>;
388
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
389
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
390
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
391
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
392
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
393
- setLoading: (loading: boolean) => Action<State>;
394
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
395
- updateEditorView: (attributes: {
396
- [key: string]: string;
397
- }) => Action<State, Props>;
398
- updateValidationState: () => Action<State>;
399
- }>, void>;
400
- /**
401
- * Returns the JQL error from the last query that was searched, or {@code null} if there were none.
402
- */
403
- export declare const useJqlError: HookFunction<JQLParseError | null, BoundActions<State, {
404
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
405
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
406
- cancelSubscription: () => Action<State>;
407
- closeAutocomplete: () => Action<State>;
408
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
409
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
410
- externalErrorMessageViewed: () => Action<State, Props>;
411
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
412
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
413
- initialiseEditorState: () => Action<State, Props>;
414
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
415
- [key: string]: string;
416
- }, portalActions: PortalActions) => Action<State, Props>;
417
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
418
- onEditorViewBlur: () => Action<State>;
419
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
420
- onSearch: () => Action<State>;
421
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
422
- openAutocompleteOnNextUpdate: () => Action<State>;
423
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
424
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
425
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
426
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
427
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
428
- setLoading: (loading: boolean) => Action<State>;
429
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
430
- updateEditorView: (attributes: {
431
- [key: string]: string;
432
- }) => Action<State, Props>;
433
- updateValidationState: () => Action<State>;
434
- }>, void>;
435
- /**
436
- * Returns whether there are any JQL errors in the current Prosemirror editor state.
437
- */
438
- export declare const useEditorStateHasJqlError: HookFunction<boolean, BoundActions<State, {
439
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
440
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
441
- cancelSubscription: () => Action<State>;
442
- closeAutocomplete: () => Action<State>;
443
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
444
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
445
- externalErrorMessageViewed: () => Action<State, Props>;
446
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
447
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
448
- initialiseEditorState: () => Action<State, Props>;
449
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
450
- [key: string]: string;
451
- }, portalActions: PortalActions) => Action<State, Props>;
452
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
453
- onEditorViewBlur: () => Action<State>;
454
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
455
- onSearch: () => Action<State>;
456
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
457
- openAutocompleteOnNextUpdate: () => Action<State>;
458
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
459
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
460
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
461
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
462
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
463
- setLoading: (loading: boolean) => Action<State>;
464
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
465
- updateEditorView: (attributes: {
466
- [key: string]: string;
467
- }) => Action<State, Props>;
468
- updateValidationState: () => Action<State>;
469
- }>, void>;
470
- export declare const useExternalMessages: HookFunction<ExternalMessagesNormalized, BoundActions<State, {
471
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
472
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
473
- cancelSubscription: () => Action<State>;
474
- closeAutocomplete: () => Action<State>;
475
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
476
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
477
- externalErrorMessageViewed: () => Action<State, Props>;
478
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
479
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
480
- initialiseEditorState: () => Action<State, Props>;
481
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
482
- [key: string]: string;
483
- }, portalActions: PortalActions) => Action<State, Props>;
484
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
485
- onEditorViewBlur: () => Action<State>;
486
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
487
- onSearch: () => Action<State>;
488
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
489
- openAutocompleteOnNextUpdate: () => Action<State>;
490
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
491
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
492
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
493
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
494
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
495
- setLoading: (loading: boolean) => Action<State>;
496
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
497
- updateEditorView: (attributes: {
498
- [key: string]: string;
499
- }) => Action<State, Props>;
500
- updateValidationState: () => Action<State>;
501
- }>, void>;
502
- export declare const useCustomErrorComponent: HookFunction<CustomErrorComponent | undefined, BoundActions<State, {
503
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
504
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
505
- cancelSubscription: () => Action<State>;
506
- closeAutocomplete: () => Action<State>;
507
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
508
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
509
- externalErrorMessageViewed: () => Action<State, Props>;
510
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
511
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
512
- initialiseEditorState: () => Action<State, Props>;
513
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
514
- [key: string]: string;
515
- }, portalActions: PortalActions) => Action<State, Props>;
516
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
517
- onEditorViewBlur: () => Action<State>;
518
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
519
- onSearch: () => Action<State>;
520
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
521
- openAutocompleteOnNextUpdate: () => Action<State>;
522
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
523
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
524
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
525
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
526
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
527
- setLoading: (loading: boolean) => Action<State>;
528
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
529
- updateEditorView: (attributes: {
530
- [key: string]: string;
531
- }) => Action<State, Props>;
532
- updateValidationState: () => Action<State>;
533
- }>, void>;
534
- export declare const useAutocompleteOptions: HookFunction<SelectableAutocompleteOption[], BoundActions<State, {
535
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
536
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
537
- cancelSubscription: () => Action<State>;
538
- closeAutocomplete: () => Action<State>;
539
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
540
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
541
- externalErrorMessageViewed: () => Action<State, Props>;
542
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
543
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
544
- initialiseEditorState: () => Action<State, Props>;
545
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
546
- [key: string]: string;
547
- }, portalActions: PortalActions) => Action<State, Props>;
548
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
549
- onEditorViewBlur: () => Action<State>;
550
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
551
- onSearch: () => Action<State>;
552
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
553
- openAutocompleteOnNextUpdate: () => Action<State>;
554
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
555
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
556
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
557
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
558
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
559
- setLoading: (loading: boolean) => Action<State>;
560
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
561
- updateEditorView: (attributes: {
562
- [key: string]: string;
563
- }) => Action<State, Props>;
564
- updateValidationState: () => Action<State>;
565
- }>, void>;
566
- export declare const useAutocompleteLoading: HookFunction<boolean, BoundActions<State, {
567
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
568
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
569
- cancelSubscription: () => Action<State>;
570
- closeAutocomplete: () => Action<State>;
571
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
572
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
573
- externalErrorMessageViewed: () => Action<State, Props>;
574
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
575
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
576
- initialiseEditorState: () => Action<State, Props>;
577
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
578
- [key: string]: string;
579
- }, portalActions: PortalActions) => Action<State, Props>;
580
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
581
- onEditorViewBlur: () => Action<State>;
582
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
583
- onSearch: () => Action<State>;
584
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
585
- openAutocompleteOnNextUpdate: () => Action<State>;
586
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
587
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
588
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
589
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
590
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
591
- setLoading: (loading: boolean) => Action<State>;
592
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
593
- updateEditorView: (attributes: {
594
- [key: string]: string;
595
- }) => Action<State, Props>;
596
- updateValidationState: () => Action<State>;
597
- }>, void>;
598
- export declare const useAutocompleteIsOpen: HookFunction<boolean, BoundActions<State, {
599
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
600
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
601
- cancelSubscription: () => Action<State>;
602
- closeAutocomplete: () => Action<State>;
603
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
604
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
605
- externalErrorMessageViewed: () => Action<State, Props>;
606
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
607
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
608
- initialiseEditorState: () => Action<State, Props>;
609
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
610
- [key: string]: string;
611
- }, portalActions: PortalActions) => Action<State, Props>;
612
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
613
- onEditorViewBlur: () => Action<State>;
614
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
615
- onSearch: () => Action<State>;
616
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
617
- openAutocompleteOnNextUpdate: () => Action<State>;
618
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
619
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
620
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
621
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
622
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
623
- setLoading: (loading: boolean) => Action<State>;
624
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
625
- updateEditorView: (attributes: {
626
- [key: string]: string;
627
- }) => Action<State, Props>;
628
- updateValidationState: () => Action<State>;
629
- }>, void>;
630
- export declare const useAutocompletePosition: HookFunction<AutocompletePosition, BoundActions<State, {
631
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
632
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
633
- cancelSubscription: () => Action<State>;
634
- closeAutocomplete: () => Action<State>;
635
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
636
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
637
- externalErrorMessageViewed: () => Action<State, Props>;
638
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
639
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
640
- initialiseEditorState: () => Action<State, Props>;
641
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
642
- [key: string]: string;
643
- }, portalActions: PortalActions) => Action<State, Props>;
644
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
645
- onEditorViewBlur: () => Action<State>;
646
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
647
- onSearch: () => Action<State>;
648
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
649
- openAutocompleteOnNextUpdate: () => Action<State>;
650
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
651
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
652
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
653
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
654
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
655
- setLoading: (loading: boolean) => Action<State>;
656
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
657
- updateEditorView: (attributes: {
658
- [key: string]: string;
659
- }) => Action<State, Props>;
660
- updateValidationState: () => Action<State>;
661
- }>, void>;
662
- export declare const useHydratedValue: HookFunction<HydratedValue | undefined, BoundActions<State, {
16
+ type Actions = {
663
17
  appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
664
18
  callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
665
19
  cancelSubscription: () => Action<State>;
@@ -690,244 +44,55 @@ export declare const useHydratedValue: HookFunction<HydratedValue | undefined, B
690
44
  [key: string]: string;
691
45
  }) => Action<State, Props>;
692
46
  updateValidationState: () => Action<State>;
693
- }>, {
47
+ };
48
+ export declare const actions: Actions;
49
+ export declare const useStoreActions: HookFunction<null, BoundActions<State, Actions>, void>;
50
+ export declare const useEditorState: HookFunction<EditorState, BoundActions<State, Actions>, void>;
51
+ export declare const useEditorView: HookFunction<EditorView | undefined, BoundActions<State, Actions>, void>;
52
+ export declare const useIsSearching: HookFunction<boolean | undefined, BoundActions<State, Actions>, void>;
53
+ export declare const useIntl: HookFunction<IntlShape, BoundActions<State, Actions>, void>;
54
+ export declare const useAutocompleteProvider: HookFunction<AutocompleteProvider, BoundActions<State, Actions>, void>;
55
+ export declare const useScopedId: HookFunction<string, BoundActions<State, Actions>, string>;
56
+ export declare const useIdPrefix: HookFunction<string, BoundActions<State, Actions>, void>;
57
+ export declare const useEditorViewHasFocus: HookFunction<boolean, BoundActions<State, Actions>, void>;
58
+ export declare const useLineNumbersVisible: HookFunction<boolean, BoundActions<State, Actions>, void>;
59
+ export declare const useAutocomplete: HookFunction<AutocompleteState, BoundActions<State, Actions>, void>;
60
+ /**
61
+ * Returns the JQL error from the last query that was searched, or {@code null} if there were none.
62
+ */
63
+ export declare const useJqlError: HookFunction<JQLParseError | null, BoundActions<State, Actions>, void>;
64
+ /**
65
+ * Returns whether there are any JQL errors in the current Prosemirror editor state.
66
+ */
67
+ export declare const useEditorStateHasJqlError: HookFunction<boolean, BoundActions<State, Actions>, void>;
68
+ export declare const useExternalMessages: HookFunction<ExternalMessagesNormalized, BoundActions<State, Actions>, void>;
69
+ export declare const useCustomErrorComponent: HookFunction<CustomErrorComponent | undefined, BoundActions<State, Actions>, void>;
70
+ export declare const useAutocompleteOptions: HookFunction<SelectableAutocompleteOption[], BoundActions<State, Actions>, void>;
71
+ export declare const useAutocompleteLoading: HookFunction<boolean, BoundActions<State, Actions>, void>;
72
+ export declare const useAutocompleteIsOpen: HookFunction<boolean, BoundActions<State, Actions>, void>;
73
+ export declare const useAutocompletePosition: HookFunction<AutocompletePosition, BoundActions<State, Actions>, void>;
74
+ export declare const useHydratedValue: HookFunction<HydratedValue | undefined, BoundActions<State, Actions>, {
694
75
  fieldName: string;
695
76
  id: string;
696
77
  }>;
697
- export declare const useHydratedUser: HookFunction<HydratedUser | undefined, BoundActions<State, {
698
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
699
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
700
- cancelSubscription: () => Action<State>;
701
- closeAutocomplete: () => Action<State>;
702
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
703
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
704
- externalErrorMessageViewed: () => Action<State, Props>;
705
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
706
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
707
- initialiseEditorState: () => Action<State, Props>;
708
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
709
- [key: string]: string;
710
- }, portalActions: PortalActions) => Action<State, Props>;
711
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
712
- onEditorViewBlur: () => Action<State>;
713
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
714
- onSearch: () => Action<State>;
715
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
716
- openAutocompleteOnNextUpdate: () => Action<State>;
717
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
718
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
719
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
720
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
721
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
722
- setLoading: (loading: boolean) => Action<State>;
723
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
724
- updateEditorView: (attributes: {
725
- [key: string]: string;
726
- }) => Action<State, Props>;
727
- updateValidationState: () => Action<State>;
728
- }>, {
78
+ export declare const useHydratedUser: HookFunction<HydratedUser | undefined, BoundActions<State, Actions>, {
729
79
  fieldName: string;
730
80
  id: string;
731
81
  }>;
732
- export declare const useHydratedTeam: HookFunction<HydratedTeam | undefined, BoundActions<State, {
733
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
734
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
735
- cancelSubscription: () => Action<State>;
736
- closeAutocomplete: () => Action<State>;
737
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
738
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
739
- externalErrorMessageViewed: () => Action<State, Props>;
740
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
741
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
742
- initialiseEditorState: () => Action<State, Props>;
743
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
744
- [key: string]: string;
745
- }, portalActions: PortalActions) => Action<State, Props>;
746
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
747
- onEditorViewBlur: () => Action<State>;
748
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
749
- onSearch: () => Action<State>;
750
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
751
- openAutocompleteOnNextUpdate: () => Action<State>;
752
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
753
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
754
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
755
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
756
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
757
- setLoading: (loading: boolean) => Action<State>;
758
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
759
- updateEditorView: (attributes: {
760
- [key: string]: string;
761
- }) => Action<State, Props>;
762
- updateValidationState: () => Action<State>;
763
- }>, {
82
+ export declare const useHydratedTeam: HookFunction<HydratedTeam | undefined, BoundActions<State, Actions>, {
764
83
  fieldName: string;
765
84
  id: string;
766
85
  }>;
767
- export declare const useHydratedProject: HookFunction<HydratedProject | undefined, BoundActions<State, {
768
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
769
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
770
- cancelSubscription: () => Action<State>;
771
- closeAutocomplete: () => Action<State>;
772
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
773
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
774
- externalErrorMessageViewed: () => Action<State, Props>;
775
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
776
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
777
- initialiseEditorState: () => Action<State, Props>;
778
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
779
- [key: string]: string;
780
- }, portalActions: PortalActions) => Action<State, Props>;
781
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
782
- onEditorViewBlur: () => Action<State>;
783
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
784
- onSearch: () => Action<State>;
785
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
786
- openAutocompleteOnNextUpdate: () => Action<State>;
787
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
788
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
789
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
790
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
791
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
792
- setLoading: (loading: boolean) => Action<State>;
793
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
794
- updateEditorView: (attributes: {
795
- [key: string]: string;
796
- }) => Action<State, Props>;
797
- updateValidationState: () => Action<State>;
798
- }>, {
86
+ export declare const useHydratedProject: HookFunction<HydratedProject | undefined, BoundActions<State, Actions>, {
799
87
  fieldName: string;
800
88
  id: string;
801
89
  }>;
802
- export declare const useHydratedGoal: HookFunction<HydratedGoal | undefined, BoundActions<State, {
803
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
804
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
805
- cancelSubscription: () => Action<State>;
806
- closeAutocomplete: () => Action<State>;
807
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
808
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
809
- externalErrorMessageViewed: () => Action<State, Props>;
810
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
811
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
812
- initialiseEditorState: () => Action<State, Props>;
813
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
814
- [key: string]: string;
815
- }, portalActions: PortalActions) => Action<State, Props>;
816
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
817
- onEditorViewBlur: () => Action<State>;
818
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
819
- onSearch: () => Action<State>;
820
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
821
- openAutocompleteOnNextUpdate: () => Action<State>;
822
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
823
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
824
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
825
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
826
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
827
- setLoading: (loading: boolean) => Action<State>;
828
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
829
- updateEditorView: (attributes: {
830
- [key: string]: string;
831
- }) => Action<State, Props>;
832
- updateValidationState: () => Action<State>;
833
- }>, {
90
+ export declare const useHydratedGoal: HookFunction<HydratedGoal | undefined, BoundActions<State, Actions>, {
834
91
  fieldName: string;
835
92
  id: string;
836
93
  }>;
837
- export declare const useHydratedDeprecations: HookFunction<HydratedDeprecatedField[], BoundActions<State, {
838
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
839
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
840
- cancelSubscription: () => Action<State>;
841
- closeAutocomplete: () => Action<State>;
842
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
843
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
844
- externalErrorMessageViewed: () => Action<State, Props>;
845
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
846
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
847
- initialiseEditorState: () => Action<State, Props>;
848
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
849
- [key: string]: string;
850
- }, portalActions: PortalActions) => Action<State, Props>;
851
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
852
- onEditorViewBlur: () => Action<State>;
853
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
854
- onSearch: () => Action<State>;
855
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
856
- openAutocompleteOnNextUpdate: () => Action<State>;
857
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
858
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
859
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
860
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
861
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
862
- setLoading: (loading: boolean) => Action<State>;
863
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
864
- updateEditorView: (attributes: {
865
- [key: string]: string;
866
- }) => Action<State, Props>;
867
- updateValidationState: () => Action<State>;
868
- }>, void>;
869
- export declare const useRichInlineNodesEnabled: HookFunction<boolean, BoundActions<State, {
870
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
871
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
872
- cancelSubscription: () => Action<State>;
873
- closeAutocomplete: () => Action<State>;
874
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
875
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
876
- externalErrorMessageViewed: () => Action<State, Props>;
877
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
878
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
879
- initialiseEditorState: () => Action<State, Props>;
880
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
881
- [key: string]: string;
882
- }, portalActions: PortalActions) => Action<State, Props>;
883
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
884
- onEditorViewBlur: () => Action<State>;
885
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
886
- onSearch: () => Action<State>;
887
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
888
- openAutocompleteOnNextUpdate: () => Action<State>;
889
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
890
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
891
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
892
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
893
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
894
- setLoading: (loading: boolean) => Action<State>;
895
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
896
- updateEditorView: (attributes: {
897
- [key: string]: string;
898
- }) => Action<State, Props>;
899
- updateValidationState: () => Action<State>;
900
- }>, void>;
901
- export declare const useOnSyntaxHelp: HookFunction<void | ((e: MouseEvent<HTMLElement>) => boolean), BoundActions<State, {
902
- appendOptionsForObservable: (key: OptionsKey, observable: Observable<AutocompleteOptions>, rule: JQLRuleSuggestion, type: AutocompleteOptionType) => Action<State, void, Observable<AutocompleteOptions>>;
903
- callAutocompleteProviders: ({ rules, tokens }: ContextAwareJQLSuggestions) => Action<State>;
904
- cancelSubscription: () => Action<State>;
905
- closeAutocomplete: () => Action<State>;
906
- configurePlugins: (portalActions: PortalActions | void) => Action<State, Props>;
907
- createAndFireAnalyticsEvent: (payload: JqlEditorAnalyticsEvent) => Action<State, Props>;
908
- externalErrorMessageViewed: () => Action<State, Props>;
909
- getAutocompleteOptions: (suggestions: ContextAwareJQLSuggestions) => Action<State>;
910
- getAutocompleteSuggestions: (editorState: EditorState) => Action<State>;
911
- initialiseEditorState: () => Action<State, Props>;
912
- initialiseEditorView: (editorViewNode: HTMLElement, attributes: {
913
- [key: string]: string;
914
- }, portalActions: PortalActions) => Action<State, Props>;
915
- onApplyEditorTransaction: (transaction: Transaction) => Action<State, Props>;
916
- onEditorViewBlur: () => Action<State>;
917
- onEditorViewFocus: (event: FocusEvent<HTMLElement>) => Action<State, Props>;
918
- onSearch: () => Action<State>;
919
- onSearchCommand: (pmState: EditorState, pmDispatch: ((tr: Transaction) => void) | undefined, pmView: EditorView | undefined, keyboardShortcut: boolean) => Action<State, Props, boolean>;
920
- openAutocompleteOnNextUpdate: () => Action<State>;
921
- resetEditorState: (query: string, addToHistory?: boolean) => Action<State>;
922
- setAutocompleteContainer: (container: HTMLElement | null) => Action<State>;
923
- setAutocompleteOptions: (options: AutocompleteOptionGroup) => Action<State>;
924
- setEditorViewContainer: (editorViewContainer: HTMLElement) => Action<State>;
925
- setEditorViewContainerScroll: (scroll: number) => Action<State>;
926
- setLoading: (loading: boolean) => Action<State>;
927
- setSelectedAutocompleteOptionId: (selectedOptionId: string | undefined) => Action<State>;
928
- updateEditorView: (attributes: {
929
- [key: string]: string;
930
- }) => Action<State, Props>;
931
- updateValidationState: () => Action<State>;
932
- }>, void>;
94
+ export declare const useHydratedDeprecations: HookFunction<HydratedDeprecatedField[], BoundActions<State, Actions>, void>;
95
+ export declare const useRichInlineNodesEnabled: HookFunction<boolean, BoundActions<State, Actions>, void>;
96
+ export declare const useOnSyntaxHelp: HookFunction<void | ((e: MouseEvent<HTMLElement>) => boolean), BoundActions<State, Actions>, void>;
933
97
  export declare const EditorStateContainer: OverrideContainerComponent<Props>;
98
+ export {};