@jbrowse/react-app2 3.2.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.
Files changed (81) hide show
  1. package/LICENSE +201 -0
  2. package/dist/JBrowseApp/AppReExport.d.ts +1 -0
  3. package/dist/JBrowseApp/AppReExport.js +5 -0
  4. package/dist/JBrowseApp/JBrowseApp.d.ts +5 -0
  5. package/dist/JBrowseApp/JBrowseApp.js +55 -0
  6. package/dist/JBrowseApp/index.d.ts +1 -0
  7. package/dist/JBrowseApp/index.js +8 -0
  8. package/dist/components/AboutDialog.d.ts +1 -0
  9. package/dist/components/AboutDialog.js +5 -0
  10. package/dist/components/PreferencesDialog.d.ts +14 -0
  11. package/dist/components/PreferencesDialog.js +21 -0
  12. package/dist/corePlugins.d.ts +3 -0
  13. package/dist/corePlugins.js +64 -0
  14. package/dist/createModel.d.ts +581 -0
  15. package/dist/createModel.js +26 -0
  16. package/dist/createViewState.d.ts +1769 -0
  17. package/dist/createViewState.js +23 -0
  18. package/dist/index.d.ts +4 -0
  19. package/dist/index.js +14 -0
  20. package/dist/jbrowseModel.d.ts +139 -0
  21. package/dist/jbrowseModel.js +7 -0
  22. package/dist/loadPlugins.d.ts +12 -0
  23. package/dist/loadPlugins.js +12 -0
  24. package/dist/react-app.umd.production.min.js +185 -0
  25. package/dist/react-app.umd.production.min.js.LICENSE.txt +198 -0
  26. package/dist/react-app.umd.production.min.js.map +1 -0
  27. package/dist/rootModel/rootModel.d.ts +596 -0
  28. package/dist/rootModel/rootModel.js +166 -0
  29. package/dist/rootModel/rootModel.test.d.ts +1 -0
  30. package/dist/rootModel/rootModel.test.js +140 -0
  31. package/dist/rpcWorker.d.ts +2 -0
  32. package/dist/rpcWorker.js +49 -0
  33. package/dist/sessionModel/index.d.ts +2003 -0
  34. package/dist/sessionModel/index.js +10 -0
  35. package/dist/util.d.ts +5 -0
  36. package/dist/util.js +119 -0
  37. package/dist/version.d.ts +1 -0
  38. package/dist/version.js +4 -0
  39. package/dist/webpack.d.ts +7 -0
  40. package/dist/webpack.js +53 -0
  41. package/dist/workerPolyfill.d.ts +0 -0
  42. package/dist/workerPolyfill.js +32 -0
  43. package/esm/JBrowseApp/AppReExport.d.ts +1 -0
  44. package/esm/JBrowseApp/AppReExport.js +1 -0
  45. package/esm/JBrowseApp/JBrowseApp.d.ts +5 -0
  46. package/esm/JBrowseApp/JBrowseApp.js +20 -0
  47. package/esm/JBrowseApp/index.d.ts +1 -0
  48. package/esm/JBrowseApp/index.js +1 -0
  49. package/esm/components/AboutDialog.d.ts +1 -0
  50. package/esm/components/AboutDialog.js +1 -0
  51. package/esm/components/PreferencesDialog.d.ts +14 -0
  52. package/esm/components/PreferencesDialog.js +19 -0
  53. package/esm/corePlugins.d.ts +3 -0
  54. package/esm/corePlugins.js +59 -0
  55. package/esm/createModel.d.ts +581 -0
  56. package/esm/createModel.js +20 -0
  57. package/esm/createViewState.d.ts +1769 -0
  58. package/esm/createViewState.js +17 -0
  59. package/esm/index.d.ts +4 -0
  60. package/esm/index.js +4 -0
  61. package/esm/jbrowseModel.d.ts +139 -0
  62. package/esm/jbrowseModel.js +4 -0
  63. package/esm/loadPlugins.d.ts +12 -0
  64. package/esm/loadPlugins.js +6 -0
  65. package/esm/makeWorkerInstance.d.ts +1 -0
  66. package/esm/makeWorkerInstance.js +3 -0
  67. package/esm/rootModel/rootModel.d.ts +596 -0
  68. package/esm/rootModel/rootModel.js +160 -0
  69. package/esm/rpcWorker.d.ts +2 -0
  70. package/esm/rpcWorker.js +10 -0
  71. package/esm/sessionModel/index.d.ts +2003 -0
  72. package/esm/sessionModel/index.js +7 -0
  73. package/esm/util.d.ts +5 -0
  74. package/esm/util.js +80 -0
  75. package/esm/version.d.ts +1 -0
  76. package/esm/version.js +1 -0
  77. package/esm/webpack.d.ts +7 -0
  78. package/esm/webpack.js +7 -0
  79. package/esm/workerPolyfill.d.ts +0 -0
  80. package/esm/workerPolyfill.js +32 -0
  81. package/package.json +103 -0
@@ -0,0 +1,2003 @@
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
+ import type { BaseAssemblyConfigSchema } from '@jbrowse/core/assemblyManager';
3
+ import type { Instance } from 'mobx-state-tree';
4
+ export default function sessionModelFactory({ pluginManager, assemblyConfigSchema, }: {
5
+ pluginManager: PluginManager;
6
+ assemblyConfigSchema: BaseAssemblyConfigSchema;
7
+ }): import("mobx-state-tree").ISnapshotProcessor<import("mobx-state-tree").IModelType<{
8
+ drawerPosition: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
9
+ drawerWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
10
+ widgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IAnyType>;
11
+ activeWidgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>>;
12
+ minimized: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
13
+ } & {
14
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
15
+ name: import("mobx-state-tree").ISimpleType<string>;
16
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
17
+ } & {
18
+ views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
19
+ stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
20
+ } & {
21
+ sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
22
+ } & {
23
+ sessionAssemblies: import("mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
24
+ aliases: {
25
+ type: string;
26
+ defaultValue: never[];
27
+ description: string;
28
+ };
29
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
30
+ refNameColors: {
31
+ type: string;
32
+ defaultValue: never[];
33
+ description: string;
34
+ };
35
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
36
+ adapter: import("mobx-state-tree").IAnyModelType;
37
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
38
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
39
+ adapter: import("mobx-state-tree").IAnyModelType;
40
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
41
+ displayName: {
42
+ type: string;
43
+ defaultValue: string;
44
+ description: string;
45
+ };
46
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>;
47
+ } & {
48
+ temporaryAssemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
49
+ } & {
50
+ connectionInstances: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
51
+ name: import("mobx-state-tree").ISimpleType<string>;
52
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
53
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
54
+ name: {
55
+ type: string;
56
+ defaultValue: string;
57
+ description: string;
58
+ };
59
+ assemblyNames: {
60
+ type: string;
61
+ defaultValue: never[];
62
+ description: string;
63
+ };
64
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
65
+ }, {
66
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
67
+ } & {
68
+ afterAttach(): void;
69
+ addTrackConf(trackConf: ({
70
+ [x: string]: any;
71
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
72
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
73
+ [x: string]: any;
74
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
75
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
76
+ [x: string]: any;
77
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
78
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
79
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
80
+ addTrackConfs(trackConfs: (({
81
+ [x: string]: any;
82
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
83
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
84
+ [x: string]: any;
85
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
86
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
87
+ [x: string]: any;
88
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
89
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
90
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
91
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
92
+ clear(): void;
93
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
94
+ } & {
95
+ sessionConnections: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
96
+ } & {
97
+ focusedViewId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
98
+ } & {
99
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
100
+ sessionPlugins: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
101
+ }, {
102
+ getReferring(object: import("mobx-state-tree").IAnyStateTreeNode): import("@jbrowse/product-core").ReferringNode[];
103
+ } & {
104
+ removeReferring(referring: import("@jbrowse/product-core").ReferringNode[], track: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
105
+ } & {
106
+ readonly visibleWidget: any;
107
+ } & {
108
+ setDrawerPosition(arg: string): void;
109
+ updateDrawerWidth(drawerWidth: number): number;
110
+ resizeDrawer(distance: number): number;
111
+ addWidget(typeName: string, id: string, initialState?: {}, conf?: unknown): any;
112
+ showWidget(widget: any): void;
113
+ hasWidget(widget: any): boolean;
114
+ hideWidget(widget: any): void;
115
+ minimizeWidgetDrawer(): void;
116
+ showWidgetDrawer(): void;
117
+ hideAllWidgets(): void;
118
+ editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
119
+ afterAttach(): void;
120
+ } & {
121
+ queueOfDialogs: [import("@jbrowse/core/util/types").DialogComponentType, unknown][];
122
+ } & {
123
+ readonly DialogComponent: import("@jbrowse/core/util/types").DialogComponentType | undefined;
124
+ readonly DialogProps: unknown;
125
+ } & {
126
+ removeActiveDialog(): void;
127
+ queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util/types").DialogComponentType, unknown]): void;
128
+ } & {
129
+ sessionThemeName: string;
130
+ } & {
131
+ allThemes(): {
132
+ [x: string]: import("@mui/material").ThemeOptions;
133
+ };
134
+ readonly themeName: string;
135
+ readonly theme: import("@mui/material").Theme;
136
+ } & {
137
+ setThemeName(name: string): void;
138
+ afterAttach(): void;
139
+ } & {
140
+ selection: unknown;
141
+ hovered: unknown;
142
+ } & {
143
+ readonly root: import("mobx-state-tree").TypeOrStateTreeNodeToStateTreeNode<ROOT_MODEL_TYPE>;
144
+ } & {
145
+ readonly jbrowse: any;
146
+ readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
147
+ readonly configuration: {
148
+ [x: string]: any;
149
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
150
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
151
+ [x: string]: any;
152
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
153
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
154
+ [x: string]: any;
155
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
156
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
157
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
158
+ readonly adminMode: boolean;
159
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
160
+ } & {
161
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
162
+ } & {
163
+ setSelection(thing: unknown): void;
164
+ clearSelection(): void;
165
+ setHovered(thing: unknown): void;
166
+ } & {
167
+ moveViewDown(id: string): void;
168
+ moveViewUp(id: string): void;
169
+ moveViewToTop(id: string): void;
170
+ moveViewToBottom(id: string): void;
171
+ addView(typeName: string, initialState?: {}): any;
172
+ removeView(view: import("@jbrowse/core/pluggableElementTypes").IBaseViewModel): void;
173
+ addLinearGenomeViewOfAssembly(assemblyName: string, initialState?: {}): any;
174
+ addViewOfAssembly(viewType: string, assemblyName: string, initialState?: Record<string, unknown>): any;
175
+ addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
176
+ displayedRegions?: import("@jbrowse/core/util/types").Region[];
177
+ }): any;
178
+ setStickyViewHeaders(sticky: boolean): void;
179
+ afterAttach(): void;
180
+ } & {
181
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
182
+ } & {
183
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
184
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
185
+ } & {
186
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
187
+ } & {
188
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
189
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
190
+ } & {
191
+ addSessionAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): ({
192
+ [x: string]: any;
193
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
194
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
195
+ [x: string]: any;
196
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
197
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
198
+ [x: string]: any;
199
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
200
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
201
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
202
+ aliases: {
203
+ type: string;
204
+ defaultValue: never[];
205
+ description: string;
206
+ };
207
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
208
+ refNameColors: {
209
+ type: string;
210
+ defaultValue: never[];
211
+ description: string;
212
+ };
213
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
214
+ adapter: import("mobx-state-tree").IAnyModelType;
215
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
216
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
217
+ adapter: import("mobx-state-tree").IAnyModelType;
218
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
219
+ displayName: {
220
+ type: string;
221
+ defaultValue: string;
222
+ description: string;
223
+ };
224
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
225
+ addAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
226
+ removeAssembly(name: string): void;
227
+ removeSessionAssembly(assemblyName: string): void;
228
+ } & {
229
+ addTemporaryAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): any;
230
+ removeTemporaryAssembly(name: string): void;
231
+ } & {
232
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
233
+ } & {
234
+ makeConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel, initialSnapshot?: {}): ({
235
+ name: string;
236
+ tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
237
+ configuration: {
238
+ [x: string]: any;
239
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
240
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
241
+ [x: string]: any;
242
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
243
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
244
+ [x: string]: any;
245
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
246
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
247
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
248
+ name: {
249
+ type: string;
250
+ defaultValue: string;
251
+ description: string;
252
+ };
253
+ assemblyNames: {
254
+ type: string;
255
+ defaultValue: never[];
256
+ description: string;
257
+ };
258
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
259
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
260
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
261
+ } & {
262
+ afterAttach(): void;
263
+ addTrackConf(trackConf: ({
264
+ [x: string]: any;
265
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
266
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
267
+ [x: string]: any;
268
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
269
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
270
+ [x: string]: any;
271
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
272
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
273
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
274
+ addTrackConfs(trackConfs: (({
275
+ [x: string]: any;
276
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
277
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
278
+ [x: string]: any;
279
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
280
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
281
+ [x: string]: any;
282
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
283
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
284
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
285
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
286
+ clear(): void;
287
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
288
+ name: import("mobx-state-tree").ISimpleType<string>;
289
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
290
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
291
+ name: {
292
+ type: string;
293
+ defaultValue: string;
294
+ description: string;
295
+ };
296
+ assemblyNames: {
297
+ type: string;
298
+ defaultValue: never[];
299
+ description: string;
300
+ };
301
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
302
+ }, {
303
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
304
+ } & {
305
+ afterAttach(): void;
306
+ addTrackConf(trackConf: ({
307
+ [x: string]: any;
308
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
309
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
310
+ [x: string]: any;
311
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
312
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
313
+ [x: string]: any;
314
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
315
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
316
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
317
+ addTrackConfs(trackConfs: (({
318
+ [x: string]: any;
319
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
320
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
321
+ [x: string]: any;
322
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
323
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
324
+ [x: string]: any;
325
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
326
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
327
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
328
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
329
+ clear(): void;
330
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
331
+ prepareToBreakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
332
+ breakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
333
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
334
+ addConnectionConf(connectionConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
335
+ clearConnections(): void;
336
+ } & {
337
+ addConnectionConf(connectionConf: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel): any;
338
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
339
+ } & {
340
+ setFocusedViewId(viewId: string): void;
341
+ } & {
342
+ snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
343
+ } & {
344
+ readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
345
+ } & {
346
+ notify(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
347
+ notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
348
+ pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
349
+ popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
350
+ removeSnackbarMessage(message: string): void;
351
+ } & {
352
+ sessionThemeName: string;
353
+ task: undefined;
354
+ } & {
355
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
356
+ readonly root: any;
357
+ readonly assemblies: Instance<BaseAssemblyConfigSchema[]>;
358
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
359
+ } & {
360
+ setName(str: string): void;
361
+ } & {
362
+ readonly assemblyNames: string[];
363
+ readonly version: any;
364
+ readonly shareURL: any;
365
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
366
+ readonly assemblyManager: import("@jbrowse/core/util/types").AssemblyManager;
367
+ readonly savedSessionMetadata: any;
368
+ readonly previousAutosaveId: any;
369
+ readonly history: any;
370
+ renderProps(): {
371
+ theme: import("@mui/material").Theme;
372
+ highResolutionScaling: any;
373
+ };
374
+ } & {
375
+ addAssemblyConf(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
376
+ addSessionPlugin(plugin: import("@jbrowse/core/util/types").JBrowsePlugin): void;
377
+ removeSessionPlugin(pluginDefinition: import("@jbrowse/core/PluginLoader").PluginDefinition): void;
378
+ addSavedSession(sessionSnapshot: import("mobx-state-tree").SnapshotIn<{
379
+ drawerPosition: string;
380
+ drawerWidth: number;
381
+ widgets: import("mobx-state-tree").IMSTMap<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMapType<import("mobx-state-tree").IAnyType>>;
382
+ activeWidgets: import("mobx-state-tree").IMSTMap<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMapType<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>>>;
383
+ minimized: boolean;
384
+ id: string;
385
+ name: string;
386
+ margin: number;
387
+ views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
388
+ stickyViewHeaders: boolean;
389
+ sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
390
+ sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
391
+ aliases: {
392
+ type: string;
393
+ defaultValue: never[];
394
+ description: string;
395
+ };
396
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
397
+ refNameColors: {
398
+ type: string;
399
+ defaultValue: never[];
400
+ description: string;
401
+ };
402
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
403
+ adapter: import("mobx-state-tree").IAnyModelType;
404
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
405
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
406
+ adapter: import("mobx-state-tree").IAnyModelType;
407
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
408
+ displayName: {
409
+ type: string;
410
+ defaultValue: string;
411
+ description: string;
412
+ };
413
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
414
+ aliases: {
415
+ type: string;
416
+ defaultValue: never[];
417
+ description: string;
418
+ };
419
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
420
+ refNameColors: {
421
+ type: string;
422
+ defaultValue: never[];
423
+ description: string;
424
+ };
425
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
426
+ adapter: import("mobx-state-tree").IAnyModelType;
427
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
428
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
429
+ adapter: import("mobx-state-tree").IAnyModelType;
430
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
431
+ displayName: {
432
+ type: string;
433
+ defaultValue: string;
434
+ description: string;
435
+ };
436
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>>;
437
+ temporaryAssemblies: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<any, any, any>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>>;
438
+ connectionInstances: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
439
+ name: import("mobx-state-tree").ISimpleType<string>;
440
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
441
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
442
+ name: {
443
+ type: string;
444
+ defaultValue: string;
445
+ description: string;
446
+ };
447
+ assemblyNames: {
448
+ type: string;
449
+ defaultValue: never[];
450
+ description: string;
451
+ };
452
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
453
+ }, {
454
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
455
+ } & {
456
+ afterAttach(): void;
457
+ addTrackConf(trackConf: ({
458
+ [x: string]: any;
459
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
460
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
461
+ [x: string]: any;
462
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
463
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
464
+ [x: string]: any;
465
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
466
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
467
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
468
+ addTrackConfs(trackConfs: (({
469
+ [x: string]: any;
470
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
471
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
472
+ [x: string]: any;
473
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
474
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
475
+ [x: string]: any;
476
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
477
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
478
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
479
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
480
+ clear(): void;
481
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
482
+ name: import("mobx-state-tree").ISimpleType<string>;
483
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
484
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
485
+ name: {
486
+ type: string;
487
+ defaultValue: string;
488
+ description: string;
489
+ };
490
+ assemblyNames: {
491
+ type: string;
492
+ defaultValue: never[];
493
+ description: string;
494
+ };
495
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
496
+ }, {
497
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
498
+ } & {
499
+ afterAttach(): void;
500
+ addTrackConf(trackConf: ({
501
+ [x: string]: any;
502
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
503
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
504
+ [x: string]: any;
505
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
506
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
507
+ [x: string]: any;
508
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
509
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
510
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
511
+ addTrackConfs(trackConfs: (({
512
+ [x: string]: any;
513
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
514
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
515
+ [x: string]: any;
516
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
517
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
518
+ [x: string]: any;
519
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
520
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
521
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
522
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
523
+ clear(): void;
524
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
525
+ sessionConnections: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
526
+ focusedViewId: string | undefined;
527
+ sessionPlugins: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<any, any, any>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>>;
528
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
529
+ getReferring(object: import("mobx-state-tree").IAnyStateTreeNode): import("@jbrowse/product-core").ReferringNode[];
530
+ } & {
531
+ removeReferring(referring: import("@jbrowse/product-core").ReferringNode[], track: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
532
+ } & {
533
+ readonly visibleWidget: any;
534
+ } & {
535
+ setDrawerPosition(arg: string): void;
536
+ updateDrawerWidth(drawerWidth: number): number;
537
+ resizeDrawer(distance: number): number;
538
+ addWidget(typeName: string, id: string, initialState?: {}, conf?: unknown): any;
539
+ showWidget(widget: any): void;
540
+ hasWidget(widget: any): boolean;
541
+ hideWidget(widget: any): void;
542
+ minimizeWidgetDrawer(): void;
543
+ showWidgetDrawer(): void;
544
+ hideAllWidgets(): void;
545
+ editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
546
+ afterAttach(): void;
547
+ } & {
548
+ queueOfDialogs: [import("@jbrowse/core/util/types").DialogComponentType, unknown][];
549
+ } & {
550
+ readonly DialogComponent: import("@jbrowse/core/util/types").DialogComponentType | undefined;
551
+ readonly DialogProps: unknown;
552
+ } & {
553
+ removeActiveDialog(): void;
554
+ queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util/types").DialogComponentType, unknown]): void;
555
+ } & {
556
+ sessionThemeName: string;
557
+ } & {
558
+ allThemes(): {
559
+ [x: string]: import("@mui/material").ThemeOptions;
560
+ };
561
+ readonly themeName: string;
562
+ readonly theme: import("@mui/material").Theme;
563
+ } & {
564
+ setThemeName(name: string): void;
565
+ afterAttach(): void;
566
+ } & {
567
+ selection: unknown;
568
+ hovered: unknown;
569
+ } & {
570
+ readonly root: import("mobx-state-tree").TypeOrStateTreeNodeToStateTreeNode<ROOT_MODEL_TYPE>;
571
+ } & {
572
+ readonly jbrowse: any;
573
+ readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
574
+ readonly configuration: {
575
+ [x: string]: any;
576
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
577
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
578
+ [x: string]: any;
579
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
580
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
581
+ [x: string]: any;
582
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
583
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
584
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
585
+ readonly adminMode: boolean;
586
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
587
+ } & {
588
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
589
+ } & {
590
+ setSelection(thing: unknown): void;
591
+ clearSelection(): void;
592
+ setHovered(thing: unknown): void;
593
+ } & {
594
+ moveViewDown(id: string): void;
595
+ moveViewUp(id: string): void;
596
+ moveViewToTop(id: string): void;
597
+ moveViewToBottom(id: string): void;
598
+ addView(typeName: string, initialState?: {}): any;
599
+ removeView(view: import("@jbrowse/core/pluggableElementTypes").IBaseViewModel): void;
600
+ addLinearGenomeViewOfAssembly(assemblyName: string, initialState?: {}): any;
601
+ addViewOfAssembly(viewType: string, assemblyName: string, initialState?: Record<string, unknown>): any;
602
+ addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
603
+ displayedRegions?: import("@jbrowse/core/util/types").Region[];
604
+ }): any;
605
+ setStickyViewHeaders(sticky: boolean): void;
606
+ afterAttach(): void;
607
+ } & {
608
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
609
+ } & {
610
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
611
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
612
+ } & {
613
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
614
+ } & {
615
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
616
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
617
+ } & {
618
+ addSessionAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): ({
619
+ [x: string]: any;
620
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
621
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
622
+ [x: string]: any;
623
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
624
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
625
+ [x: string]: any;
626
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
627
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
628
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
629
+ aliases: {
630
+ type: string;
631
+ defaultValue: never[];
632
+ description: string;
633
+ };
634
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
635
+ refNameColors: {
636
+ type: string;
637
+ defaultValue: never[];
638
+ description: string;
639
+ };
640
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
641
+ adapter: import("mobx-state-tree").IAnyModelType;
642
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
643
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
644
+ adapter: import("mobx-state-tree").IAnyModelType;
645
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
646
+ displayName: {
647
+ type: string;
648
+ defaultValue: string;
649
+ description: string;
650
+ };
651
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
652
+ addAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
653
+ removeAssembly(name: string): void;
654
+ removeSessionAssembly(assemblyName: string): void;
655
+ } & {
656
+ addTemporaryAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): any;
657
+ removeTemporaryAssembly(name: string): void;
658
+ } & {
659
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
660
+ } & {
661
+ makeConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel, initialSnapshot?: {}): ({
662
+ name: string;
663
+ tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
664
+ configuration: {
665
+ [x: string]: any;
666
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
667
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
668
+ [x: string]: any;
669
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
670
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
671
+ [x: string]: any;
672
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
673
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
674
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
675
+ name: {
676
+ type: string;
677
+ defaultValue: string;
678
+ description: string;
679
+ };
680
+ assemblyNames: {
681
+ type: string;
682
+ defaultValue: never[];
683
+ description: string;
684
+ };
685
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
686
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
687
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
688
+ } & {
689
+ afterAttach(): void;
690
+ addTrackConf(trackConf: ({
691
+ [x: string]: any;
692
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
693
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
694
+ [x: string]: any;
695
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
696
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
697
+ [x: string]: any;
698
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
699
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
700
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
701
+ addTrackConfs(trackConfs: (({
702
+ [x: string]: any;
703
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
704
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
705
+ [x: string]: any;
706
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
707
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
708
+ [x: string]: any;
709
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
710
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
711
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
712
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
713
+ clear(): void;
714
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
715
+ name: import("mobx-state-tree").ISimpleType<string>;
716
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
717
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
718
+ name: {
719
+ type: string;
720
+ defaultValue: string;
721
+ description: string;
722
+ };
723
+ assemblyNames: {
724
+ type: string;
725
+ defaultValue: never[];
726
+ description: string;
727
+ };
728
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
729
+ }, {
730
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
731
+ } & {
732
+ afterAttach(): void;
733
+ addTrackConf(trackConf: ({
734
+ [x: string]: any;
735
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
736
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
737
+ [x: string]: any;
738
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
739
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
740
+ [x: string]: any;
741
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
742
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
743
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
744
+ addTrackConfs(trackConfs: (({
745
+ [x: string]: any;
746
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
747
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
748
+ [x: string]: any;
749
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
750
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
751
+ [x: string]: any;
752
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
753
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
754
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
755
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
756
+ clear(): void;
757
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
758
+ prepareToBreakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
759
+ breakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
760
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
761
+ addConnectionConf(connectionConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
762
+ clearConnections(): void;
763
+ } & {
764
+ addConnectionConf(connectionConf: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel): any;
765
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
766
+ } & {
767
+ setFocusedViewId(viewId: string): void;
768
+ } & {
769
+ snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
770
+ } & {
771
+ readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
772
+ } & {
773
+ notify(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
774
+ notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
775
+ pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
776
+ popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
777
+ removeSnackbarMessage(message: string): void;
778
+ } & {
779
+ sessionThemeName: string;
780
+ task: undefined;
781
+ } & {
782
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
783
+ readonly root: any;
784
+ readonly assemblies: Instance<BaseAssemblyConfigSchema[]>;
785
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
786
+ } & {
787
+ setName(str: string): void;
788
+ } & {
789
+ readonly assemblyNames: string[];
790
+ readonly version: any;
791
+ readonly shareURL: any;
792
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
793
+ readonly assemblyManager: import("@jbrowse/core/util/types").AssemblyManager;
794
+ readonly savedSessionMetadata: any;
795
+ readonly previousAutosaveId: any;
796
+ readonly history: any;
797
+ renderProps(): {
798
+ theme: import("@mui/material").Theme;
799
+ highResolutionScaling: any;
800
+ };
801
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
802
+ drawerPosition: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
803
+ drawerWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
804
+ widgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IAnyType>;
805
+ activeWidgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>>;
806
+ minimized: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
807
+ } & {
808
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
809
+ name: import("mobx-state-tree").ISimpleType<string>;
810
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
811
+ } & {
812
+ views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
813
+ stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
814
+ } & {
815
+ sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
816
+ } & {
817
+ sessionAssemblies: import("mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
818
+ aliases: {
819
+ type: string;
820
+ defaultValue: never[];
821
+ description: string;
822
+ };
823
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
824
+ refNameColors: {
825
+ type: string;
826
+ defaultValue: never[];
827
+ description: string;
828
+ };
829
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
830
+ adapter: import("mobx-state-tree").IAnyModelType;
831
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
832
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
833
+ adapter: import("mobx-state-tree").IAnyModelType;
834
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
835
+ displayName: {
836
+ type: string;
837
+ defaultValue: string;
838
+ description: string;
839
+ };
840
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>;
841
+ } & {
842
+ temporaryAssemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
843
+ } & {
844
+ connectionInstances: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
845
+ name: import("mobx-state-tree").ISimpleType<string>;
846
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
847
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
848
+ name: {
849
+ type: string;
850
+ defaultValue: string;
851
+ description: string;
852
+ };
853
+ assemblyNames: {
854
+ type: string;
855
+ defaultValue: never[];
856
+ description: string;
857
+ };
858
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
859
+ }, {
860
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
861
+ } & {
862
+ afterAttach(): void;
863
+ addTrackConf(trackConf: ({
864
+ [x: string]: any;
865
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
866
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
867
+ [x: string]: any;
868
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
869
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
870
+ [x: string]: any;
871
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
872
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
873
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
874
+ addTrackConfs(trackConfs: (({
875
+ [x: string]: any;
876
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
877
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
878
+ [x: string]: any;
879
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
880
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
881
+ [x: string]: any;
882
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
883
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
884
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
885
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
886
+ clear(): void;
887
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
888
+ } & {
889
+ sessionConnections: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
890
+ } & {
891
+ focusedViewId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
892
+ } & {
893
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
894
+ sessionPlugins: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
895
+ }, {
896
+ getReferring(object: import("mobx-state-tree").IAnyStateTreeNode): import("@jbrowse/product-core").ReferringNode[];
897
+ } & {
898
+ removeReferring(referring: import("@jbrowse/product-core").ReferringNode[], track: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
899
+ } & {
900
+ readonly visibleWidget: any;
901
+ } & {
902
+ setDrawerPosition(arg: string): void;
903
+ updateDrawerWidth(drawerWidth: number): number;
904
+ resizeDrawer(distance: number): number;
905
+ addWidget(typeName: string, id: string, initialState?: {}, conf?: unknown): any;
906
+ showWidget(widget: any): void;
907
+ hasWidget(widget: any): boolean;
908
+ hideWidget(widget: any): void;
909
+ minimizeWidgetDrawer(): void;
910
+ showWidgetDrawer(): void;
911
+ hideAllWidgets(): void;
912
+ editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
913
+ afterAttach(): void;
914
+ } & {
915
+ queueOfDialogs: [import("@jbrowse/core/util/types").DialogComponentType, unknown][];
916
+ } & {
917
+ readonly DialogComponent: import("@jbrowse/core/util/types").DialogComponentType | undefined;
918
+ readonly DialogProps: unknown;
919
+ } & {
920
+ removeActiveDialog(): void;
921
+ queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util/types").DialogComponentType, unknown]): void;
922
+ } & {
923
+ sessionThemeName: string;
924
+ } & {
925
+ allThemes(): {
926
+ [x: string]: import("@mui/material").ThemeOptions;
927
+ };
928
+ readonly themeName: string;
929
+ readonly theme: import("@mui/material").Theme;
930
+ } & {
931
+ setThemeName(name: string): void;
932
+ afterAttach(): void;
933
+ } & {
934
+ selection: unknown;
935
+ hovered: unknown;
936
+ } & {
937
+ readonly root: import("mobx-state-tree").TypeOrStateTreeNodeToStateTreeNode<ROOT_MODEL_TYPE>;
938
+ } & {
939
+ readonly jbrowse: any;
940
+ readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
941
+ readonly configuration: {
942
+ [x: string]: any;
943
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
944
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
945
+ [x: string]: any;
946
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
947
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
948
+ [x: string]: any;
949
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
950
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
951
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
952
+ readonly adminMode: boolean;
953
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
954
+ } & {
955
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
956
+ } & {
957
+ setSelection(thing: unknown): void;
958
+ clearSelection(): void;
959
+ setHovered(thing: unknown): void;
960
+ } & {
961
+ moveViewDown(id: string): void;
962
+ moveViewUp(id: string): void;
963
+ moveViewToTop(id: string): void;
964
+ moveViewToBottom(id: string): void;
965
+ addView(typeName: string, initialState?: {}): any;
966
+ removeView(view: import("@jbrowse/core/pluggableElementTypes").IBaseViewModel): void;
967
+ addLinearGenomeViewOfAssembly(assemblyName: string, initialState?: {}): any;
968
+ addViewOfAssembly(viewType: string, assemblyName: string, initialState?: Record<string, unknown>): any;
969
+ addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
970
+ displayedRegions?: import("@jbrowse/core/util/types").Region[];
971
+ }): any;
972
+ setStickyViewHeaders(sticky: boolean): void;
973
+ afterAttach(): void;
974
+ } & {
975
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
976
+ } & {
977
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
978
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
979
+ } & {
980
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
981
+ } & {
982
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
983
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
984
+ } & {
985
+ addSessionAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): ({
986
+ [x: string]: any;
987
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
988
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
989
+ [x: string]: any;
990
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
991
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
992
+ [x: string]: any;
993
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
994
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
995
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
996
+ aliases: {
997
+ type: string;
998
+ defaultValue: never[];
999
+ description: string;
1000
+ };
1001
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1002
+ refNameColors: {
1003
+ type: string;
1004
+ defaultValue: never[];
1005
+ description: string;
1006
+ };
1007
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1008
+ adapter: import("mobx-state-tree").IAnyModelType;
1009
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1010
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1011
+ adapter: import("mobx-state-tree").IAnyModelType;
1012
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1013
+ displayName: {
1014
+ type: string;
1015
+ defaultValue: string;
1016
+ description: string;
1017
+ };
1018
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
1019
+ addAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
1020
+ removeAssembly(name: string): void;
1021
+ removeSessionAssembly(assemblyName: string): void;
1022
+ } & {
1023
+ addTemporaryAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1024
+ removeTemporaryAssembly(name: string): void;
1025
+ } & {
1026
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1027
+ } & {
1028
+ makeConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel, initialSnapshot?: {}): ({
1029
+ name: string;
1030
+ tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
1031
+ configuration: {
1032
+ [x: string]: any;
1033
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1034
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1035
+ [x: string]: any;
1036
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1037
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1038
+ [x: string]: any;
1039
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1040
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1041
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1042
+ name: {
1043
+ type: string;
1044
+ defaultValue: string;
1045
+ description: string;
1046
+ };
1047
+ assemblyNames: {
1048
+ type: string;
1049
+ defaultValue: never[];
1050
+ description: string;
1051
+ };
1052
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
1053
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1054
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1055
+ } & {
1056
+ afterAttach(): void;
1057
+ addTrackConf(trackConf: ({
1058
+ [x: string]: any;
1059
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1060
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1061
+ [x: string]: any;
1062
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1063
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1064
+ [x: string]: any;
1065
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1066
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1067
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1068
+ addTrackConfs(trackConfs: (({
1069
+ [x: string]: any;
1070
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1071
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1072
+ [x: string]: any;
1073
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1074
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1075
+ [x: string]: any;
1076
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1077
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1078
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1079
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1080
+ clear(): void;
1081
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1082
+ name: import("mobx-state-tree").ISimpleType<string>;
1083
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1084
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1085
+ name: {
1086
+ type: string;
1087
+ defaultValue: string;
1088
+ description: string;
1089
+ };
1090
+ assemblyNames: {
1091
+ type: string;
1092
+ defaultValue: never[];
1093
+ description: string;
1094
+ };
1095
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1096
+ }, {
1097
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1098
+ } & {
1099
+ afterAttach(): void;
1100
+ addTrackConf(trackConf: ({
1101
+ [x: string]: any;
1102
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1103
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1104
+ [x: string]: any;
1105
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1106
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1107
+ [x: string]: any;
1108
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1109
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1110
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1111
+ addTrackConfs(trackConfs: (({
1112
+ [x: string]: any;
1113
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1114
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1115
+ [x: string]: any;
1116
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1117
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1118
+ [x: string]: any;
1119
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1120
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1121
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1122
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1123
+ clear(): void;
1124
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
1125
+ prepareToBreakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
1126
+ breakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1127
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1128
+ addConnectionConf(connectionConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1129
+ clearConnections(): void;
1130
+ } & {
1131
+ addConnectionConf(connectionConf: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel): any;
1132
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1133
+ } & {
1134
+ setFocusedViewId(viewId: string): void;
1135
+ } & {
1136
+ snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1137
+ } & {
1138
+ readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1139
+ } & {
1140
+ notify(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1141
+ notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
1142
+ pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1143
+ popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
1144
+ removeSnackbarMessage(message: string): void;
1145
+ } & {
1146
+ sessionThemeName: string;
1147
+ task: undefined;
1148
+ } & {
1149
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1150
+ readonly root: any;
1151
+ readonly assemblies: Instance<BaseAssemblyConfigSchema[]>;
1152
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1153
+ } & {
1154
+ setName(str: string): void;
1155
+ } & {
1156
+ readonly assemblyNames: string[];
1157
+ readonly version: any;
1158
+ readonly shareURL: any;
1159
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
1160
+ readonly assemblyManager: import("@jbrowse/core/util/types").AssemblyManager;
1161
+ readonly savedSessionMetadata: any;
1162
+ readonly previousAutosaveId: any;
1163
+ readonly history: any;
1164
+ renderProps(): {
1165
+ theme: import("@mui/material").Theme;
1166
+ highResolutionScaling: any;
1167
+ };
1168
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>): any;
1169
+ deleteSavedSession(id: string): any;
1170
+ favoriteSavedSession(id: string): any;
1171
+ unfavoriteSavedSession(id: string): any;
1172
+ renameCurrentSession(sessionName: string): any;
1173
+ duplicateCurrentSession(): any;
1174
+ activateSession(sessionName: string): any;
1175
+ setDefaultSession(): any;
1176
+ saveSessionToLocalStorage(): any;
1177
+ loadAutosaveSession(): any;
1178
+ setSession(sessionSnapshot: import("mobx-state-tree").SnapshotIn<{
1179
+ drawerPosition: string;
1180
+ drawerWidth: number;
1181
+ widgets: import("mobx-state-tree").IMSTMap<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMapType<import("mobx-state-tree").IAnyType>>;
1182
+ activeWidgets: import("mobx-state-tree").IMSTMap<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMapType<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>>>;
1183
+ minimized: boolean;
1184
+ id: string;
1185
+ name: string;
1186
+ margin: number;
1187
+ views: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
1188
+ stickyViewHeaders: boolean;
1189
+ sessionTracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
1190
+ sessionAssemblies: import("mobx-state-tree").IMSTArray<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1191
+ aliases: {
1192
+ type: string;
1193
+ defaultValue: never[];
1194
+ description: string;
1195
+ };
1196
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1197
+ refNameColors: {
1198
+ type: string;
1199
+ defaultValue: never[];
1200
+ description: string;
1201
+ };
1202
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1203
+ adapter: import("mobx-state-tree").IAnyModelType;
1204
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1205
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1206
+ adapter: import("mobx-state-tree").IAnyModelType;
1207
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1208
+ displayName: {
1209
+ type: string;
1210
+ defaultValue: string;
1211
+ description: string;
1212
+ };
1213
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1214
+ aliases: {
1215
+ type: string;
1216
+ defaultValue: never[];
1217
+ description: string;
1218
+ };
1219
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1220
+ refNameColors: {
1221
+ type: string;
1222
+ defaultValue: never[];
1223
+ description: string;
1224
+ };
1225
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1226
+ adapter: import("mobx-state-tree").IAnyModelType;
1227
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1228
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1229
+ adapter: import("mobx-state-tree").IAnyModelType;
1230
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1231
+ displayName: {
1232
+ type: string;
1233
+ defaultValue: string;
1234
+ description: string;
1235
+ };
1236
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>>;
1237
+ temporaryAssemblies: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<any, any, any>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>>;
1238
+ connectionInstances: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
1239
+ name: import("mobx-state-tree").ISimpleType<string>;
1240
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1241
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1242
+ name: {
1243
+ type: string;
1244
+ defaultValue: string;
1245
+ description: string;
1246
+ };
1247
+ assemblyNames: {
1248
+ type: string;
1249
+ defaultValue: never[];
1250
+ description: string;
1251
+ };
1252
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1253
+ }, {
1254
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1255
+ } & {
1256
+ afterAttach(): void;
1257
+ addTrackConf(trackConf: ({
1258
+ [x: string]: any;
1259
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1260
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1261
+ [x: string]: any;
1262
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1263
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1264
+ [x: string]: any;
1265
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1266
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1267
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1268
+ addTrackConfs(trackConfs: (({
1269
+ [x: string]: any;
1270
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1271
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1272
+ [x: string]: any;
1273
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1274
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1275
+ [x: string]: any;
1276
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1277
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1278
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1279
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1280
+ clear(): void;
1281
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
1282
+ name: import("mobx-state-tree").ISimpleType<string>;
1283
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1284
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1285
+ name: {
1286
+ type: string;
1287
+ defaultValue: string;
1288
+ description: string;
1289
+ };
1290
+ assemblyNames: {
1291
+ type: string;
1292
+ defaultValue: never[];
1293
+ description: string;
1294
+ };
1295
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1296
+ }, {
1297
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1298
+ } & {
1299
+ afterAttach(): void;
1300
+ addTrackConf(trackConf: ({
1301
+ [x: string]: any;
1302
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1303
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1304
+ [x: string]: any;
1305
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1306
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1307
+ [x: string]: any;
1308
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1309
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1310
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1311
+ addTrackConfs(trackConfs: (({
1312
+ [x: string]: any;
1313
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1314
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1315
+ [x: string]: any;
1316
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1317
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1318
+ [x: string]: any;
1319
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1320
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1321
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1322
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1323
+ clear(): void;
1324
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
1325
+ sessionConnections: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
1326
+ focusedViewId: string | undefined;
1327
+ sessionPlugins: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<any, any, any>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>>;
1328
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1329
+ getReferring(object: import("mobx-state-tree").IAnyStateTreeNode): import("@jbrowse/product-core").ReferringNode[];
1330
+ } & {
1331
+ removeReferring(referring: import("@jbrowse/product-core").ReferringNode[], track: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
1332
+ } & {
1333
+ readonly visibleWidget: any;
1334
+ } & {
1335
+ setDrawerPosition(arg: string): void;
1336
+ updateDrawerWidth(drawerWidth: number): number;
1337
+ resizeDrawer(distance: number): number;
1338
+ addWidget(typeName: string, id: string, initialState?: {}, conf?: unknown): any;
1339
+ showWidget(widget: any): void;
1340
+ hasWidget(widget: any): boolean;
1341
+ hideWidget(widget: any): void;
1342
+ minimizeWidgetDrawer(): void;
1343
+ showWidgetDrawer(): void;
1344
+ hideAllWidgets(): void;
1345
+ editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1346
+ afterAttach(): void;
1347
+ } & {
1348
+ queueOfDialogs: [import("@jbrowse/core/util/types").DialogComponentType, unknown][];
1349
+ } & {
1350
+ readonly DialogComponent: import("@jbrowse/core/util/types").DialogComponentType | undefined;
1351
+ readonly DialogProps: unknown;
1352
+ } & {
1353
+ removeActiveDialog(): void;
1354
+ queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util/types").DialogComponentType, unknown]): void;
1355
+ } & {
1356
+ sessionThemeName: string;
1357
+ } & {
1358
+ allThemes(): {
1359
+ [x: string]: import("@mui/material").ThemeOptions;
1360
+ };
1361
+ readonly themeName: string;
1362
+ readonly theme: import("@mui/material").Theme;
1363
+ } & {
1364
+ setThemeName(name: string): void;
1365
+ afterAttach(): void;
1366
+ } & {
1367
+ selection: unknown;
1368
+ hovered: unknown;
1369
+ } & {
1370
+ readonly root: import("mobx-state-tree").TypeOrStateTreeNodeToStateTreeNode<ROOT_MODEL_TYPE>;
1371
+ } & {
1372
+ readonly jbrowse: any;
1373
+ readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
1374
+ readonly configuration: {
1375
+ [x: string]: any;
1376
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1377
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1378
+ [x: string]: any;
1379
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1380
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1381
+ [x: string]: any;
1382
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1383
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1384
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
1385
+ readonly adminMode: boolean;
1386
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
1387
+ } & {
1388
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
1389
+ } & {
1390
+ setSelection(thing: unknown): void;
1391
+ clearSelection(): void;
1392
+ setHovered(thing: unknown): void;
1393
+ } & {
1394
+ moveViewDown(id: string): void;
1395
+ moveViewUp(id: string): void;
1396
+ moveViewToTop(id: string): void;
1397
+ moveViewToBottom(id: string): void;
1398
+ addView(typeName: string, initialState?: {}): any;
1399
+ removeView(view: import("@jbrowse/core/pluggableElementTypes").IBaseViewModel): void;
1400
+ addLinearGenomeViewOfAssembly(assemblyName: string, initialState?: {}): any;
1401
+ addViewOfAssembly(viewType: string, assemblyName: string, initialState?: Record<string, unknown>): any;
1402
+ addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
1403
+ displayedRegions?: import("@jbrowse/core/util/types").Region[];
1404
+ }): any;
1405
+ setStickyViewHeaders(sticky: boolean): void;
1406
+ afterAttach(): void;
1407
+ } & {
1408
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1409
+ } & {
1410
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1411
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1412
+ } & {
1413
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1414
+ } & {
1415
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1416
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1417
+ } & {
1418
+ addSessionAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): ({
1419
+ [x: string]: any;
1420
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1421
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1422
+ [x: string]: any;
1423
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1424
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1425
+ [x: string]: any;
1426
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1427
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1428
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1429
+ aliases: {
1430
+ type: string;
1431
+ defaultValue: never[];
1432
+ description: string;
1433
+ };
1434
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1435
+ refNameColors: {
1436
+ type: string;
1437
+ defaultValue: never[];
1438
+ description: string;
1439
+ };
1440
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1441
+ adapter: import("mobx-state-tree").IAnyModelType;
1442
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1443
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1444
+ adapter: import("mobx-state-tree").IAnyModelType;
1445
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1446
+ displayName: {
1447
+ type: string;
1448
+ defaultValue: string;
1449
+ description: string;
1450
+ };
1451
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
1452
+ addAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
1453
+ removeAssembly(name: string): void;
1454
+ removeSessionAssembly(assemblyName: string): void;
1455
+ } & {
1456
+ addTemporaryAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1457
+ removeTemporaryAssembly(name: string): void;
1458
+ } & {
1459
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1460
+ } & {
1461
+ makeConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel, initialSnapshot?: {}): ({
1462
+ name: string;
1463
+ tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
1464
+ configuration: {
1465
+ [x: string]: any;
1466
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1467
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1468
+ [x: string]: any;
1469
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1470
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1471
+ [x: string]: any;
1472
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1473
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1474
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1475
+ name: {
1476
+ type: string;
1477
+ defaultValue: string;
1478
+ description: string;
1479
+ };
1480
+ assemblyNames: {
1481
+ type: string;
1482
+ defaultValue: never[];
1483
+ description: string;
1484
+ };
1485
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
1486
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1487
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1488
+ } & {
1489
+ afterAttach(): void;
1490
+ addTrackConf(trackConf: ({
1491
+ [x: string]: any;
1492
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1493
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1494
+ [x: string]: any;
1495
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1496
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1497
+ [x: string]: any;
1498
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1499
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1500
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1501
+ addTrackConfs(trackConfs: (({
1502
+ [x: string]: any;
1503
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1504
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1505
+ [x: string]: any;
1506
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1507
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1508
+ [x: string]: any;
1509
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1510
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1511
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1512
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1513
+ clear(): void;
1514
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1515
+ name: import("mobx-state-tree").ISimpleType<string>;
1516
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1517
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1518
+ name: {
1519
+ type: string;
1520
+ defaultValue: string;
1521
+ description: string;
1522
+ };
1523
+ assemblyNames: {
1524
+ type: string;
1525
+ defaultValue: never[];
1526
+ description: string;
1527
+ };
1528
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1529
+ }, {
1530
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1531
+ } & {
1532
+ afterAttach(): void;
1533
+ addTrackConf(trackConf: ({
1534
+ [x: string]: any;
1535
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1536
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1537
+ [x: string]: any;
1538
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1539
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1540
+ [x: string]: any;
1541
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1542
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1543
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1544
+ addTrackConfs(trackConfs: (({
1545
+ [x: string]: any;
1546
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1547
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1548
+ [x: string]: any;
1549
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1550
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1551
+ [x: string]: any;
1552
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1553
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1554
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1555
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1556
+ clear(): void;
1557
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
1558
+ prepareToBreakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
1559
+ breakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1560
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1561
+ addConnectionConf(connectionConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1562
+ clearConnections(): void;
1563
+ } & {
1564
+ addConnectionConf(connectionConf: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel): any;
1565
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1566
+ } & {
1567
+ setFocusedViewId(viewId: string): void;
1568
+ } & {
1569
+ snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1570
+ } & {
1571
+ readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1572
+ } & {
1573
+ notify(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1574
+ notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
1575
+ pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1576
+ popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
1577
+ removeSnackbarMessage(message: string): void;
1578
+ } & {
1579
+ sessionThemeName: string;
1580
+ task: undefined;
1581
+ } & {
1582
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1583
+ readonly root: any;
1584
+ readonly assemblies: Instance<BaseAssemblyConfigSchema[]>;
1585
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1586
+ } & {
1587
+ setName(str: string): void;
1588
+ } & {
1589
+ readonly assemblyNames: string[];
1590
+ readonly version: any;
1591
+ readonly shareURL: any;
1592
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
1593
+ readonly assemblyManager: import("@jbrowse/core/util/types").AssemblyManager;
1594
+ readonly savedSessionMetadata: any;
1595
+ readonly previousAutosaveId: any;
1596
+ readonly history: any;
1597
+ renderProps(): {
1598
+ theme: import("@mui/material").Theme;
1599
+ highResolutionScaling: any;
1600
+ };
1601
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1602
+ drawerPosition: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
1603
+ drawerWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
1604
+ widgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IAnyType>;
1605
+ activeWidgets: import("mobx-state-tree").IMapType<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>>;
1606
+ minimized: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1607
+ } & {
1608
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
1609
+ name: import("mobx-state-tree").ISimpleType<string>;
1610
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
1611
+ } & {
1612
+ views: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
1613
+ stickyViewHeaders: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1614
+ } & {
1615
+ sessionTracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1616
+ } & {
1617
+ sessionAssemblies: import("mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1618
+ aliases: {
1619
+ type: string;
1620
+ defaultValue: never[];
1621
+ description: string;
1622
+ };
1623
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1624
+ refNameColors: {
1625
+ type: string;
1626
+ defaultValue: never[];
1627
+ description: string;
1628
+ };
1629
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1630
+ adapter: import("mobx-state-tree").IAnyModelType;
1631
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1632
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1633
+ adapter: import("mobx-state-tree").IAnyModelType;
1634
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1635
+ displayName: {
1636
+ type: string;
1637
+ defaultValue: string;
1638
+ description: string;
1639
+ };
1640
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>;
1641
+ } & {
1642
+ temporaryAssemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
1643
+ } & {
1644
+ connectionInstances: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
1645
+ name: import("mobx-state-tree").ISimpleType<string>;
1646
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1647
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1648
+ name: {
1649
+ type: string;
1650
+ defaultValue: string;
1651
+ description: string;
1652
+ };
1653
+ assemblyNames: {
1654
+ type: string;
1655
+ defaultValue: never[];
1656
+ description: string;
1657
+ };
1658
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1659
+ }, {
1660
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1661
+ } & {
1662
+ afterAttach(): void;
1663
+ addTrackConf(trackConf: ({
1664
+ [x: string]: any;
1665
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1666
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1667
+ [x: string]: any;
1668
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1669
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1670
+ [x: string]: any;
1671
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1672
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1673
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1674
+ addTrackConfs(trackConfs: (({
1675
+ [x: string]: any;
1676
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1677
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1678
+ [x: string]: any;
1679
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1680
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1681
+ [x: string]: any;
1682
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1683
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1684
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1685
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1686
+ clear(): void;
1687
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
1688
+ } & {
1689
+ sessionConnections: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1690
+ } & {
1691
+ focusedViewId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
1692
+ } & {
1693
+ margin: import("mobx-state-tree").IType<number | undefined, number, number>;
1694
+ sessionPlugins: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
1695
+ }, {
1696
+ getReferring(object: import("mobx-state-tree").IAnyStateTreeNode): import("@jbrowse/product-core").ReferringNode[];
1697
+ } & {
1698
+ removeReferring(referring: import("@jbrowse/product-core").ReferringNode[], track: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<string, number>): void;
1699
+ } & {
1700
+ readonly visibleWidget: any;
1701
+ } & {
1702
+ setDrawerPosition(arg: string): void;
1703
+ updateDrawerWidth(drawerWidth: number): number;
1704
+ resizeDrawer(distance: number): number;
1705
+ addWidget(typeName: string, id: string, initialState?: {}, conf?: unknown): any;
1706
+ showWidget(widget: any): void;
1707
+ hasWidget(widget: any): boolean;
1708
+ hideWidget(widget: any): void;
1709
+ minimizeWidgetDrawer(): void;
1710
+ showWidgetDrawer(): void;
1711
+ hideAllWidgets(): void;
1712
+ editConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1713
+ afterAttach(): void;
1714
+ } & {
1715
+ queueOfDialogs: [import("@jbrowse/core/util/types").DialogComponentType, unknown][];
1716
+ } & {
1717
+ readonly DialogComponent: import("@jbrowse/core/util/types").DialogComponentType | undefined;
1718
+ readonly DialogProps: unknown;
1719
+ } & {
1720
+ removeActiveDialog(): void;
1721
+ queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util/types").DialogComponentType, unknown]): void;
1722
+ } & {
1723
+ sessionThemeName: string;
1724
+ } & {
1725
+ allThemes(): {
1726
+ [x: string]: import("@mui/material").ThemeOptions;
1727
+ };
1728
+ readonly themeName: string;
1729
+ readonly theme: import("@mui/material").Theme;
1730
+ } & {
1731
+ setThemeName(name: string): void;
1732
+ afterAttach(): void;
1733
+ } & {
1734
+ selection: unknown;
1735
+ hovered: unknown;
1736
+ } & {
1737
+ readonly root: import("mobx-state-tree").TypeOrStateTreeNodeToStateTreeNode<ROOT_MODEL_TYPE>;
1738
+ } & {
1739
+ readonly jbrowse: any;
1740
+ readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
1741
+ readonly configuration: {
1742
+ [x: string]: any;
1743
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1744
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1745
+ [x: string]: any;
1746
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1747
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1748
+ [x: string]: any;
1749
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1750
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1751
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>;
1752
+ readonly adminMode: boolean;
1753
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
1754
+ } & {
1755
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
1756
+ } & {
1757
+ setSelection(thing: unknown): void;
1758
+ clearSelection(): void;
1759
+ setHovered(thing: unknown): void;
1760
+ } & {
1761
+ moveViewDown(id: string): void;
1762
+ moveViewUp(id: string): void;
1763
+ moveViewToTop(id: string): void;
1764
+ moveViewToBottom(id: string): void;
1765
+ addView(typeName: string, initialState?: {}): any;
1766
+ removeView(view: import("@jbrowse/core/pluggableElementTypes").IBaseViewModel): void;
1767
+ addLinearGenomeViewOfAssembly(assemblyName: string, initialState?: {}): any;
1768
+ addViewOfAssembly(viewType: string, assemblyName: string, initialState?: Record<string, unknown>): any;
1769
+ addViewFromAnotherView(viewType: string, otherView: import("@jbrowse/core/pluggableElementTypes/models/BaseViewModel").IBaseViewModelWithDisplayedRegions, initialState?: {
1770
+ displayedRegions?: import("@jbrowse/core/util/types").Region[];
1771
+ }): any;
1772
+ setStickyViewHeaders(sticky: boolean): void;
1773
+ afterAttach(): void;
1774
+ } & {
1775
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1776
+ } & {
1777
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1778
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1779
+ } & {
1780
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1781
+ } & {
1782
+ addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1783
+ deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1784
+ } & {
1785
+ addSessionAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): ({
1786
+ [x: string]: any;
1787
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1788
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1789
+ [x: string]: any;
1790
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1791
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1792
+ [x: string]: any;
1793
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1794
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1795
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1796
+ aliases: {
1797
+ type: string;
1798
+ defaultValue: never[];
1799
+ description: string;
1800
+ };
1801
+ sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1802
+ refNameColors: {
1803
+ type: string;
1804
+ defaultValue: never[];
1805
+ description: string;
1806
+ };
1807
+ refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1808
+ adapter: import("mobx-state-tree").IAnyModelType;
1809
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1810
+ cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1811
+ adapter: import("mobx-state-tree").IAnyModelType;
1812
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1813
+ displayName: {
1814
+ type: string;
1815
+ defaultValue: string;
1816
+ description: string;
1817
+ };
1818
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
1819
+ addAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): void;
1820
+ removeAssembly(name: string): void;
1821
+ removeSessionAssembly(assemblyName: string): void;
1822
+ } & {
1823
+ addTemporaryAssembly(conf: import("@jbrowse/core/configuration").AnyConfiguration): any;
1824
+ removeTemporaryAssembly(name: string): void;
1825
+ } & {
1826
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1827
+ } & {
1828
+ makeConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel, initialSnapshot?: {}): ({
1829
+ name: string;
1830
+ tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
1831
+ configuration: {
1832
+ [x: string]: any;
1833
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1834
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1835
+ [x: string]: any;
1836
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1837
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1838
+ [x: string]: any;
1839
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1840
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1841
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1842
+ name: {
1843
+ type: string;
1844
+ defaultValue: string;
1845
+ description: string;
1846
+ };
1847
+ assemblyNames: {
1848
+ type: string;
1849
+ defaultValue: never[];
1850
+ description: string;
1851
+ };
1852
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
1853
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1854
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1855
+ } & {
1856
+ afterAttach(): void;
1857
+ addTrackConf(trackConf: ({
1858
+ [x: string]: any;
1859
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1860
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1861
+ [x: string]: any;
1862
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1863
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1864
+ [x: string]: any;
1865
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1866
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1867
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1868
+ addTrackConfs(trackConfs: (({
1869
+ [x: string]: any;
1870
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1871
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1872
+ [x: string]: any;
1873
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1874
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1875
+ [x: string]: any;
1876
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1877
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1878
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1879
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1880
+ clear(): void;
1881
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1882
+ name: import("mobx-state-tree").ISimpleType<string>;
1883
+ tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
1884
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1885
+ name: {
1886
+ type: string;
1887
+ defaultValue: string;
1888
+ description: string;
1889
+ };
1890
+ assemblyNames: {
1891
+ type: string;
1892
+ defaultValue: never[];
1893
+ description: string;
1894
+ };
1895
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
1896
+ }, {
1897
+ connect(_arg: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1898
+ } & {
1899
+ afterAttach(): void;
1900
+ addTrackConf(trackConf: ({
1901
+ [x: string]: any;
1902
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1903
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1904
+ [x: string]: any;
1905
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1906
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1907
+ [x: string]: any;
1908
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1909
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1910
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>): any;
1911
+ addTrackConfs(trackConfs: (({
1912
+ [x: string]: any;
1913
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1914
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1915
+ [x: string]: any;
1916
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1917
+ setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
1918
+ [x: string]: any;
1919
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1920
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
1921
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>) | Record<string, unknown>)[]): void;
1922
+ setTrackConfs(trackConfs: import("@jbrowse/core/configuration").AnyConfigurationModel[]): void;
1923
+ clear(): void;
1924
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
1925
+ prepareToBreakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
1926
+ breakConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1927
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1928
+ addConnectionConf(connectionConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1929
+ clearConnections(): void;
1930
+ } & {
1931
+ addConnectionConf(connectionConf: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel): any;
1932
+ deleteConnection(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
1933
+ } & {
1934
+ setFocusedViewId(viewId: string): void;
1935
+ } & {
1936
+ snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1937
+ } & {
1938
+ readonly snackbarMessageSet: Map<string, import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
1939
+ } & {
1940
+ notify(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1941
+ notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
1942
+ pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util/types").NotificationLevel, action?: import("@jbrowse/core/util/types").SnackAction): void;
1943
+ popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
1944
+ removeSnackbarMessage(message: string): void;
1945
+ } & {
1946
+ sessionThemeName: string;
1947
+ task: undefined;
1948
+ } & {
1949
+ readonly tracks: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1950
+ readonly root: any;
1951
+ readonly assemblies: Instance<BaseAssemblyConfigSchema[]>;
1952
+ readonly connections: import("@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig").BaseConnectionConfigModel[];
1953
+ } & {
1954
+ setName(str: string): void;
1955
+ } & {
1956
+ readonly assemblyNames: string[];
1957
+ readonly version: any;
1958
+ readonly shareURL: any;
1959
+ readonly textSearchManager: import("@jbrowse/core/TextSearch/TextSearchManager").default;
1960
+ readonly assemblyManager: import("@jbrowse/core/util/types").AssemblyManager;
1961
+ readonly savedSessionMetadata: any;
1962
+ readonly previousAutosaveId: any;
1963
+ readonly history: any;
1964
+ renderProps(): {
1965
+ theme: import("@mui/material").Theme;
1966
+ highResolutionScaling: any;
1967
+ };
1968
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>): any;
1969
+ } & {
1970
+ editTrackConfiguration(configuration: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
1971
+ } & {
1972
+ getTrackActionMenuItems(config: import("@jbrowse/core/pluggableElementTypes").BaseTrackConfig): ({
1973
+ label: string;
1974
+ priority: number;
1975
+ onClick: () => void;
1976
+ icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
1977
+ muiName: string;
1978
+ };
1979
+ disabled?: undefined;
1980
+ type?: undefined;
1981
+ } | {
1982
+ label: string;
1983
+ priority: number;
1984
+ disabled: boolean;
1985
+ icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
1986
+ muiName: string;
1987
+ };
1988
+ onClick: () => void;
1989
+ type?: undefined;
1990
+ } | {
1991
+ type: string;
1992
+ label?: undefined;
1993
+ priority?: undefined;
1994
+ onClick?: undefined;
1995
+ icon?: undefined;
1996
+ disabled?: undefined;
1997
+ })[];
1998
+ menus(): import("@jbrowse/app-core").Menu[];
1999
+ } & {
2000
+ afterAttach(): void;
2001
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
2002
+ export type WebSessionModelType = ReturnType<typeof sessionModelFactory>;
2003
+ export type WebSessionModel = Instance<WebSessionModelType>;