@jbrowse/plugin-linear-genome-view 5.0.0-beta.17 → 5.0.0-beta.19

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 (46) hide show
  1. package/esm/LinearGenomeView/afterAttach.js +6 -4
  2. package/esm/LinearGenomeView/components/ImportForm.js +2 -4
  3. package/esm/LinearGenomeView/components/LinearGenomeViewContainer.js +4 -2
  4. package/esm/LinearGenomeView/components/SearchBox.js +1 -9
  5. package/esm/LinearGenomeView/components/SearchResultsDialog.js +1 -1
  6. package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +2 -1
  7. package/esm/LinearGenomeView/components/SearchResultsTable.js +23 -5
  8. package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlight.js +2 -3
  9. package/esm/LinearGenomeView/components/TrackContainer.d.ts +2 -3
  10. package/esm/LinearGenomeView/components/TrackContainer.js +3 -4
  11. package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.d.ts +3 -4
  12. package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.js +23 -10
  13. package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +2 -3
  14. package/esm/LinearGenomeView/components/TrackRenderingContainer.js +1 -1
  15. package/esm/LinearGenomeView/components/useSearchBoxPrefs.d.ts +1 -1
  16. package/esm/LinearGenomeView/components/useSearchBoxPrefs.js +1 -1
  17. package/esm/LinearGenomeView/index.d.ts +1 -1
  18. package/esm/LinearGenomeView/index.js +2 -0
  19. package/esm/LinearGenomeView/keyboardHandler.d.ts +8 -9
  20. package/esm/LinearGenomeView/keyboardHandler.js +58 -34
  21. package/esm/LinearGenomeView/menuItems.js +3 -2
  22. package/esm/LinearGenomeView/model.d.ts +489 -52
  23. package/esm/LinearGenomeView/model.js +125 -45
  24. package/esm/LinearGenomeView/rExport/exportLinearView.js +4 -5
  25. package/esm/LinearGenomeView/rExport/rScript.d.ts +26 -1
  26. package/esm/LinearGenomeView/rExport/rScript.js +27 -6
  27. package/esm/LinearGenomeView/sharedScaleContainer.js +2 -12
  28. package/esm/LinearGenomeView/showFiles.d.ts +2 -0
  29. package/esm/LinearGenomeView/showFiles.js +19 -0
  30. package/esm/LinearGenomeView/showRegionsWithUndo.d.ts +1 -1
  31. package/esm/LinearGenomeView/showRegionsWithUndo.js +1 -1
  32. package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +3 -1
  33. package/esm/LinearGenomeView/util.d.ts +1 -1
  34. package/esm/LinearGenomeView/util.js +1 -1
  35. package/esm/TrackModifiers/index.d.ts +80 -0
  36. package/esm/TrackModifiers/index.js +212 -0
  37. package/esm/displayKitTests/perRegionTestEnv.d.ts +10 -4
  38. package/esm/index.d.ts +3 -1
  39. package/esm/index.js +1 -2
  40. package/esm/searchUtils.d.ts +14 -2
  41. package/esm/searchUtils.js +56 -36
  42. package/package.json +10 -9
  43. package/esm/FeatureTrack/configSchema.d.ts +0 -217
  44. package/esm/FeatureTrack/configSchema.js +0 -55
  45. package/esm/FeatureTrack/index.d.ts +0 -2
  46. package/esm/FeatureTrack/index.js +0 -13
@@ -1,4 +1,4 @@
1
- import type { BpOffset, ExportSvgOptions, HighlightType, InitState, NavLocation, ViewTrackLabelMode, VolatileGuide } from './types.ts';
1
+ import type { BpOffset, ExportSvgOptions, HighlightInput, HighlightType, InitState, NavLocation, ViewTrackLabelMode, VolatileGuide } from './types.ts';
2
2
  import type { RegionEdit } from './util.ts';
3
3
  import type PluginManager from '@jbrowse/core/PluginManager';
4
4
  import type BaseResult from '@jbrowse/core/TextSearch/BaseResults';
@@ -9,6 +9,7 @@ import type { BlockSet, ContentBlock } from '@jbrowse/core/util/blockTypes';
9
9
  import type { Region } from '@jbrowse/core/util/types';
10
10
  import type { ViewStatus } from '@jbrowse/core/util/viewStatus';
11
11
  import type { LaunchInput } from '@jbrowse/core/util/withLaunchInput';
12
+ import type { LinearDisplayModel } from '@jbrowse/display-kit/types';
12
13
  import type { Instance } from '@jbrowse/mobx-state-tree';
13
14
  /** One place a name search points at, as a picker lists it. */
14
15
  export interface SearchPickerRow {
@@ -20,18 +21,24 @@ export interface SearchPickerRow {
20
21
  trackName: string;
21
22
  }
22
23
  /**
23
- * The hits of a name search that point at more than one place, waiting for the
24
- * user to choose. A host draws them however it likes: the Material view shows
25
- * a dialog, and `SearchPicker` in `@jbrowse/display-ui/embed` a plain list.
24
+ * A name search's hits as a host lists them: what `view.search` returns, and
25
+ * what the picker holds.
26
26
  */
27
- export interface SearchPickerState {
27
+ export interface SearchHits {
28
28
  query: string;
29
29
  assemblyName: string;
30
- /** one row per place, hits in a track the view already shows first */
30
+ /** one row per hit, hits in a track the view already shows first */
31
31
  rows: SearchPickerRow[];
32
- /** navigates to the row's place, reports a failure and closes the picker */
32
+ /** lands on the row's place and reports a failure */
33
33
  pick: (id: string) => Promise<unknown>;
34
34
  }
35
+ /**
36
+ * The hits of a name search that point at more than one place, waiting for the
37
+ * user to choose; its `pick` also closes the picker. A host draws them however
38
+ * it likes: the Material view shows a dialog, and `SearchPicker` in
39
+ * `@jbrowse/display-ui/embed` a plain list.
40
+ */
41
+ export type SearchPickerState = SearchHits;
35
42
  export type { PaddingSpan } from './util.ts';
36
43
  export interface HighlightRegion {
37
44
  assemblyName?: string;
@@ -87,11 +94,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
87
94
  windowWidthBp: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
88
95
  legacyBpPerPx: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
89
96
  displayedRegions: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<Region[], Region[], Region[]>, [undefined]>;
90
- tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
97
+ tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>;
91
98
  hideHeader: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
92
99
  hideHeaderOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
93
100
  hideNoTracksActive: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
94
- trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<"hierarchical">, [undefined]>;
101
+ trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
95
102
  showCenterLine: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
96
103
  showCytobands: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
97
104
  trackLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
@@ -172,6 +179,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
172
179
  * #volatile
173
180
  */
174
181
  coarseBpPerPx: number;
182
+ /**
183
+ * #volatile
184
+ * the scroll offset the coarse blocks were laid out at, in px at
185
+ * `coarseBpPerPx`: the settled viewport's left edge, which the first
186
+ * coarse block is not while the view is scrolled before the first region
187
+ */
188
+ coarseOffsetPx: number;
175
189
  /**
176
190
  * #volatile
177
191
  */
@@ -236,11 +250,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
236
250
  /**
237
251
  * #getter
238
252
  */
239
- readonly pinnedTracks: any[];
253
+ readonly pinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
240
254
  /**
241
255
  * #getter
242
256
  */
243
- readonly unpinnedTracks: any[];
257
+ readonly unpinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
244
258
  /**
245
259
  * #getter
246
260
  * the effective track labels setting, resolving the stored `trackLabels`
@@ -287,7 +301,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
287
301
  * The census entry for this view: the tracks it holds itself. Declared
288
302
  * rather than derived — see `BaseViewModel.ownTracks`.
289
303
  */
290
- readonly ownTracks: any[];
304
+ readonly ownTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
291
305
  /**
292
306
  * #getter
293
307
  * See `BaseViewModel.rendersDisplays`.
@@ -324,7 +338,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
324
338
  * and error checks resolve it directly through here.
325
339
  */
326
340
  readonly initAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
327
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
341
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
342
+ readonly aliases: {
343
+ type: "stringArray";
344
+ } & {
345
+ defaultValue: unknown;
346
+ };
347
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
348
+ readonly refNameColors: {
349
+ type: "stringArray";
350
+ } & {
351
+ defaultValue: unknown;
352
+ };
353
+ readonly geneticCodes: {
354
+ type: "frozen";
355
+ } & {
356
+ defaultValue: unknown;
357
+ };
358
+ readonly circularRefNames: {
359
+ type: "stringArray";
360
+ } & {
361
+ defaultValue: unknown;
362
+ };
363
+ readonly geneticCodesLocation: {
364
+ type: "maybeFileLocation";
365
+ };
366
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
367
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
368
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
369
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
370
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
371
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
372
+ readonly displayName: {
373
+ type: "string";
374
+ } & {
375
+ defaultValue: string;
376
+ };
377
+ name: {
378
+ type: "string";
379
+ } & {
380
+ defaultValue: string;
381
+ };
382
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
328
383
  }> & {
329
384
  error: unknown;
330
385
  loadingP: Promise<void> | undefined;
@@ -339,6 +394,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
339
394
  statusProgress: number | undefined;
340
395
  statusSource: string | undefined;
341
396
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
397
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
342
398
  } & {
343
399
  getConf(arg: string): any;
344
400
  } & {
@@ -352,6 +408,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
352
408
  } & {
353
409
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
354
410
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
411
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
355
412
  } & {
356
413
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
357
414
  regions: import("@jbrowse/core/util").Region[];
@@ -391,8 +448,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
391
448
  [x: string]: unknown;
392
449
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
393
450
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
451
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
394
452
  } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
395
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
453
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
454
+ readonly aliases: {
455
+ type: "stringArray";
456
+ } & {
457
+ defaultValue: unknown;
458
+ };
459
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
460
+ readonly refNameColors: {
461
+ type: "stringArray";
462
+ } & {
463
+ defaultValue: unknown;
464
+ };
465
+ readonly geneticCodes: {
466
+ type: "frozen";
467
+ } & {
468
+ defaultValue: unknown;
469
+ };
470
+ readonly circularRefNames: {
471
+ type: "stringArray";
472
+ } & {
473
+ defaultValue: unknown;
474
+ };
475
+ readonly geneticCodesLocation: {
476
+ type: "maybeFileLocation";
477
+ };
478
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
479
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
480
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
481
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
482
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
483
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
484
+ readonly displayName: {
485
+ type: "string";
486
+ } & {
487
+ defaultValue: string;
488
+ };
489
+ name: {
490
+ type: "string";
491
+ } & {
492
+ defaultValue: string;
493
+ };
494
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
396
495
  }, {
397
496
  error: unknown;
398
497
  loadingP: Promise<void> | undefined;
@@ -407,6 +506,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
407
506
  statusProgress: number | undefined;
408
507
  statusSource: string | undefined;
409
508
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
509
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
410
510
  } & {
411
511
  getConf(arg: string): any;
412
512
  } & {
@@ -420,6 +520,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
420
520
  } & {
421
521
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
422
522
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
523
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
423
524
  } & {
424
525
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
425
526
  regions: import("@jbrowse/core/util").Region[];
@@ -459,6 +560,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
459
560
  [x: string]: unknown;
460
561
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
461
562
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
563
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
462
564
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
463
565
  /**
464
566
  * #getter
@@ -485,7 +587,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
485
587
  * displayed assemblies that hasn't finished loading.
486
588
  */
487
589
  readonly loadingAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
488
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
590
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
591
+ readonly aliases: {
592
+ type: "stringArray";
593
+ } & {
594
+ defaultValue: unknown;
595
+ };
596
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
597
+ readonly refNameColors: {
598
+ type: "stringArray";
599
+ } & {
600
+ defaultValue: unknown;
601
+ };
602
+ readonly geneticCodes: {
603
+ type: "frozen";
604
+ } & {
605
+ defaultValue: unknown;
606
+ };
607
+ readonly circularRefNames: {
608
+ type: "stringArray";
609
+ } & {
610
+ defaultValue: unknown;
611
+ };
612
+ readonly geneticCodesLocation: {
613
+ type: "maybeFileLocation";
614
+ };
615
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
616
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
617
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
618
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
619
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
620
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
621
+ readonly displayName: {
622
+ type: "string";
623
+ } & {
624
+ defaultValue: string;
625
+ };
626
+ name: {
627
+ type: "string";
628
+ } & {
629
+ defaultValue: string;
630
+ };
631
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
489
632
  }> & {
490
633
  error: unknown;
491
634
  loadingP: Promise<void> | undefined;
@@ -500,6 +643,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
500
643
  statusProgress: number | undefined;
501
644
  statusSource: string | undefined;
502
645
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
646
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
503
647
  } & {
504
648
  getConf(arg: string): any;
505
649
  } & {
@@ -513,6 +657,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
513
657
  } & {
514
658
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
515
659
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
660
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
516
661
  } & {
517
662
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
518
663
  regions: import("@jbrowse/core/util").Region[];
@@ -552,8 +697,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
552
697
  [x: string]: unknown;
553
698
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
554
699
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
700
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
555
701
  } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
556
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
702
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
703
+ readonly aliases: {
704
+ type: "stringArray";
705
+ } & {
706
+ defaultValue: unknown;
707
+ };
708
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
709
+ readonly refNameColors: {
710
+ type: "stringArray";
711
+ } & {
712
+ defaultValue: unknown;
713
+ };
714
+ readonly geneticCodes: {
715
+ type: "frozen";
716
+ } & {
717
+ defaultValue: unknown;
718
+ };
719
+ readonly circularRefNames: {
720
+ type: "stringArray";
721
+ } & {
722
+ defaultValue: unknown;
723
+ };
724
+ readonly geneticCodesLocation: {
725
+ type: "maybeFileLocation";
726
+ };
727
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
728
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
729
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
730
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
731
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
732
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
733
+ readonly displayName: {
734
+ type: "string";
735
+ } & {
736
+ defaultValue: string;
737
+ };
738
+ name: {
739
+ type: "string";
740
+ } & {
741
+ defaultValue: string;
742
+ };
743
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
557
744
  }, {
558
745
  error: unknown;
559
746
  loadingP: Promise<void> | undefined;
@@ -568,6 +755,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
568
755
  statusProgress: number | undefined;
569
756
  statusSource: string | undefined;
570
757
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
758
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
571
759
  } & {
572
760
  getConf(arg: string): any;
573
761
  } & {
@@ -581,6 +769,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
581
769
  } & {
582
770
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
583
771
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
772
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
584
773
  } & {
585
774
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
586
775
  regions: import("@jbrowse/core/util").Region[];
@@ -620,6 +809,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
620
809
  [x: string]: unknown;
621
810
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
622
811
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
812
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
623
813
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
624
814
  /**
625
815
  * #getter
@@ -727,13 +917,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
727
917
  * mounts — rather than re-picking `displays[0]`, so the view's height math
728
918
  * can't diverge from what is on screen.
729
919
  */
730
- trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IAnyType> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>>)[number]): any;
920
+ trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
731
921
  /**
732
922
  * #method
733
923
  * the measured in-flow label band above a track's rendering container,
734
924
  * 0 until TrackContainer has measured one or when no label is in flow
735
925
  */
736
- trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IAnyType> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>>)[number]): number;
926
+ trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
737
927
  /**
738
928
  * #getter
739
929
  */
@@ -751,7 +941,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
751
941
  * The display height of each track a whole-stack resize moves, by track
752
942
  * instance id: every shown track that is not minimized.
753
943
  */
754
- readonly resizableTrackHeights: Map<any, any>;
944
+ readonly resizableTrackHeights: Map<string, number>;
755
945
  /**
756
946
  * #method
757
947
  * Y offset (in pixels, from the top of the view) where a track's
@@ -771,7 +961,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
771
961
  * up/down/top/bottom reorder inside this section rather than the full
772
962
  * `tracks` array, since the two sections lay out independently
773
963
  */
774
- trackSection(id: string): any[];
964
+ trackSection(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
775
965
  /**
776
966
  * #getter
777
967
  */
@@ -838,11 +1028,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
838
1028
  /**
839
1029
  * #getter
840
1030
  */
841
- readonly trackMap: Map<string, any>;
1031
+ readonly trackMap: Map<string, import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>;
842
1032
  /**
843
1033
  * #method
844
1034
  */
845
- getTrack(id: string): any;
1035
+ getTrack(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>) | undefined;
846
1036
  /**
847
1037
  * #method
848
1038
  * displayId of the active (shown) display for a track in this view, used
@@ -967,6 +1157,15 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
967
1157
  * there and shows the track its index came from
968
1158
  */
969
1159
  setSearchResults(searchResults: BaseResult[], searchQuery: string, assemblyName: string, onPick?: (result: BaseResult) => Promise<unknown>): void;
1160
+ /**
1161
+ * #action
1162
+ * Search the view's assembly by name, for a host listing the hits
1163
+ * itself. A row's `pick` lands as the search box does: it navigates
1164
+ * there and shows the track the hit's index came from.
1165
+ */
1166
+ search(query: string, opts?: {
1167
+ signal?: AbortSignal;
1168
+ }): Promise<SearchHits>;
970
1169
  /**
971
1170
  * #action
972
1171
  */
@@ -988,6 +1187,22 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
988
1187
  * loaded: loads it, then shows
989
1188
  */
990
1189
  launchTrack(trackId: string, initialSnapshot?: any, displayInitialSnapshot?: any, inlineConf?: Record<string, unknown>): Promise<any>;
1190
+ /**
1191
+ * #action
1192
+ * Replace the highlights `highlights` reads, each written as the launch
1193
+ * spec's `highlight` writes one: a locstring, or an object whose
1194
+ * `assemblyName` defaults to the view's. Throws on one that names no
1195
+ * region, writing none.
1196
+ */
1197
+ setHighlights(highlights: readonly (string | HighlightInput)[]): void;
1198
+ /**
1199
+ * #action
1200
+ * Show files from the user's disk as session tracks: one per data file,
1201
+ * beside the index among them that names it, its type guessed from its
1202
+ * name. Adds nothing when one file has no known type. Resolves the new
1203
+ * tracks' ids.
1204
+ */
1205
+ showFiles(files: readonly File[]): Promise<string[]>;
991
1206
  } & {
992
1207
  /**
993
1208
  * #method
@@ -996,7 +1211,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
996
1211
  * both name one shown track. Answers the model id, or the argument
997
1212
  * unchanged when nothing shown matches, so the move reports it.
998
1213
  */
999
- trackModelId(idOrTrackId: string): any;
1214
+ trackModelId(idOrTrackId: string): string;
1000
1215
  } & {
1001
1216
  moveTrack: (moving: string, target: string) => void;
1002
1217
  /**
@@ -1482,7 +1697,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1482
1697
  *
1483
1698
  * The coarse blocks are a 500ms throttle, and every consumer trades
1484
1699
  * freshness for not recomputing per animation frame — the location box,
1485
- * canvas's on-screen feature set, and the two per-bp scans behind
1700
+ * the feature display's on-screen feature set, and the two per-bp scans behind
1486
1701
  * `settledDynamicBlocks`. That trade is only sound while the answer is a
1487
1702
  * few frames old. **A jump makes it unrelated instead**, because there is
1488
1703
  * nothing to coalesce: the viewport left behind is not an approximation of
@@ -1708,10 +1923,17 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1708
1923
  * adds the region in view to the session's highlights
1709
1924
  */
1710
1925
  highlightCurrentRegion(): void;
1926
+ /**
1927
+ * #action
1928
+ * navigates to a highlight, zoomed out a little for context. Goes through
1929
+ * a locstring so it reaches a refName the view is not displaying
1930
+ */
1931
+ navToHighlight(highlight: HighlightType): Promise<boolean>;
1932
+ } & {
1711
1933
  /**
1712
1934
  * #action
1713
1935
  * navigates to the most recently added highlight on this view's
1714
- * assemblies, zoomed out a little for context
1936
+ * assemblies
1715
1937
  */
1716
1938
  navigateNewestHighlight(): Promise<void>;
1717
1939
  } & {
@@ -1748,7 +1970,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1748
1970
  */
1749
1971
  nonGenomicTrackBands(): {
1750
1972
  top: number;
1751
- height: any;
1973
+ height: number;
1752
1974
  }[];
1753
1975
  /**
1754
1976
  * #method
@@ -1792,8 +2014,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1792
2014
  rubberbandClickMenuItems(clickOffset: BpOffset): MenuItem[];
1793
2015
  /**
1794
2016
  * #method
1795
- * returns menu items for a highlight context menu. plugins can extend
1796
- * this via Core-extendPluggableElement to add items
2017
+ * a highlight chip's menu rows after Dismiss; extend this to add one
1797
2018
  */
1798
2019
  highlightMenuItems(_highlight: HighlightType): MenuItem[];
1799
2020
  } & {
@@ -1826,11 +2047,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1826
2047
  windowWidthBp: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
1827
2048
  legacyBpPerPx: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
1828
2049
  displayedRegions: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IType<Region[], Region[], Region[]>, [undefined]>;
1829
- tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
2050
+ tracks: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>;
1830
2051
  hideHeader: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1831
2052
  hideHeaderOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1832
2053
  hideNoTracksActive: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1833
- trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<"hierarchical">, [undefined]>;
2054
+ trackSelectorType: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
1834
2055
  showCenterLine: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1835
2056
  showCytobands: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
1836
2057
  trackLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
@@ -1911,6 +2132,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1911
2132
  * #volatile
1912
2133
  */
1913
2134
  coarseBpPerPx: number;
2135
+ /**
2136
+ * #volatile
2137
+ * the scroll offset the coarse blocks were laid out at, in px at
2138
+ * `coarseBpPerPx`: the settled viewport's left edge, which the first
2139
+ * coarse block is not while the view is scrolled before the first region
2140
+ */
2141
+ coarseOffsetPx: number;
1914
2142
  /**
1915
2143
  * #volatile
1916
2144
  */
@@ -1975,11 +2203,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
1975
2203
  /**
1976
2204
  * #getter
1977
2205
  */
1978
- readonly pinnedTracks: any[];
2206
+ readonly pinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
1979
2207
  /**
1980
2208
  * #getter
1981
2209
  */
1982
- readonly unpinnedTracks: any[];
2210
+ readonly unpinnedTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
1983
2211
  /**
1984
2212
  * #getter
1985
2213
  * the effective track labels setting, resolving the stored `trackLabels`
@@ -2026,7 +2254,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2026
2254
  * The census entry for this view: the tracks it holds itself. Declared
2027
2255
  * rather than derived — see `BaseViewModel.ownTracks`.
2028
2256
  */
2029
- readonly ownTracks: any[];
2257
+ readonly ownTracks: (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
2030
2258
  /**
2031
2259
  * #getter
2032
2260
  * See `BaseViewModel.rendersDisplays`.
@@ -2063,7 +2291,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2063
2291
  * and error checks resolve it directly through here.
2064
2292
  */
2065
2293
  readonly initAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
2066
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
2294
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2295
+ readonly aliases: {
2296
+ type: "stringArray";
2297
+ } & {
2298
+ defaultValue: unknown;
2299
+ };
2300
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2301
+ readonly refNameColors: {
2302
+ type: "stringArray";
2303
+ } & {
2304
+ defaultValue: unknown;
2305
+ };
2306
+ readonly geneticCodes: {
2307
+ type: "frozen";
2308
+ } & {
2309
+ defaultValue: unknown;
2310
+ };
2311
+ readonly circularRefNames: {
2312
+ type: "stringArray";
2313
+ } & {
2314
+ defaultValue: unknown;
2315
+ };
2316
+ readonly geneticCodesLocation: {
2317
+ type: "maybeFileLocation";
2318
+ };
2319
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2320
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2321
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2322
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2323
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2324
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2325
+ readonly displayName: {
2326
+ type: "string";
2327
+ } & {
2328
+ defaultValue: string;
2329
+ };
2330
+ name: {
2331
+ type: "string";
2332
+ } & {
2333
+ defaultValue: string;
2334
+ };
2335
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
2067
2336
  }> & {
2068
2337
  error: unknown;
2069
2338
  loadingP: Promise<void> | undefined;
@@ -2078,6 +2347,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2078
2347
  statusProgress: number | undefined;
2079
2348
  statusSource: string | undefined;
2080
2349
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
2350
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
2081
2351
  } & {
2082
2352
  getConf(arg: string): any;
2083
2353
  } & {
@@ -2091,6 +2361,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2091
2361
  } & {
2092
2362
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
2093
2363
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
2364
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
2094
2365
  } & {
2095
2366
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
2096
2367
  regions: import("@jbrowse/core/util").Region[];
@@ -2130,8 +2401,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2130
2401
  [x: string]: unknown;
2131
2402
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
2132
2403
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
2404
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
2133
2405
  } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
2134
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
2406
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2407
+ readonly aliases: {
2408
+ type: "stringArray";
2409
+ } & {
2410
+ defaultValue: unknown;
2411
+ };
2412
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2413
+ readonly refNameColors: {
2414
+ type: "stringArray";
2415
+ } & {
2416
+ defaultValue: unknown;
2417
+ };
2418
+ readonly geneticCodes: {
2419
+ type: "frozen";
2420
+ } & {
2421
+ defaultValue: unknown;
2422
+ };
2423
+ readonly circularRefNames: {
2424
+ type: "stringArray";
2425
+ } & {
2426
+ defaultValue: unknown;
2427
+ };
2428
+ readonly geneticCodesLocation: {
2429
+ type: "maybeFileLocation";
2430
+ };
2431
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2432
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2433
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2434
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2435
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2436
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2437
+ readonly displayName: {
2438
+ type: "string";
2439
+ } & {
2440
+ defaultValue: string;
2441
+ };
2442
+ name: {
2443
+ type: "string";
2444
+ } & {
2445
+ defaultValue: string;
2446
+ };
2447
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
2135
2448
  }, {
2136
2449
  error: unknown;
2137
2450
  loadingP: Promise<void> | undefined;
@@ -2146,6 +2459,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2146
2459
  statusProgress: number | undefined;
2147
2460
  statusSource: string | undefined;
2148
2461
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
2462
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
2149
2463
  } & {
2150
2464
  getConf(arg: string): any;
2151
2465
  } & {
@@ -2159,6 +2473,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2159
2473
  } & {
2160
2474
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
2161
2475
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
2476
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
2162
2477
  } & {
2163
2478
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
2164
2479
  regions: import("@jbrowse/core/util").Region[];
@@ -2198,6 +2513,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2198
2513
  [x: string]: unknown;
2199
2514
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
2200
2515
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
2516
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
2201
2517
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
2202
2518
  /**
2203
2519
  * #getter
@@ -2224,7 +2540,48 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2224
2540
  * displayed assemblies that hasn't finished loading.
2225
2541
  */
2226
2542
  readonly loadingAssembly: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
2227
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
2543
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2544
+ readonly aliases: {
2545
+ type: "stringArray";
2546
+ } & {
2547
+ defaultValue: unknown;
2548
+ };
2549
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2550
+ readonly refNameColors: {
2551
+ type: "stringArray";
2552
+ } & {
2553
+ defaultValue: unknown;
2554
+ };
2555
+ readonly geneticCodes: {
2556
+ type: "frozen";
2557
+ } & {
2558
+ defaultValue: unknown;
2559
+ };
2560
+ readonly circularRefNames: {
2561
+ type: "stringArray";
2562
+ } & {
2563
+ defaultValue: unknown;
2564
+ };
2565
+ readonly geneticCodesLocation: {
2566
+ type: "maybeFileLocation";
2567
+ };
2568
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2569
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2570
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2571
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2572
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2573
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2574
+ readonly displayName: {
2575
+ type: "string";
2576
+ } & {
2577
+ defaultValue: string;
2578
+ };
2579
+ name: {
2580
+ type: "string";
2581
+ } & {
2582
+ defaultValue: string;
2583
+ };
2584
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
2228
2585
  }> & {
2229
2586
  error: unknown;
2230
2587
  loadingP: Promise<void> | undefined;
@@ -2239,6 +2596,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2239
2596
  statusProgress: number | undefined;
2240
2597
  statusSource: string | undefined;
2241
2598
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
2599
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
2242
2600
  } & {
2243
2601
  getConf(arg: string): any;
2244
2602
  } & {
@@ -2252,6 +2610,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2252
2610
  } & {
2253
2611
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
2254
2612
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
2613
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
2255
2614
  } & {
2256
2615
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
2257
2616
  regions: import("@jbrowse/core/util").Region[];
@@ -2291,8 +2650,50 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2291
2650
  [x: string]: unknown;
2292
2651
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
2293
2652
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
2653
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
2294
2654
  } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
2295
- configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
2655
+ configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2656
+ readonly aliases: {
2657
+ type: "stringArray";
2658
+ } & {
2659
+ defaultValue: unknown;
2660
+ };
2661
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2662
+ readonly refNameColors: {
2663
+ type: "stringArray";
2664
+ } & {
2665
+ defaultValue: unknown;
2666
+ };
2667
+ readonly geneticCodes: {
2668
+ type: "frozen";
2669
+ } & {
2670
+ defaultValue: unknown;
2671
+ };
2672
+ readonly circularRefNames: {
2673
+ type: "stringArray";
2674
+ } & {
2675
+ defaultValue: unknown;
2676
+ };
2677
+ readonly geneticCodesLocation: {
2678
+ type: "maybeFileLocation";
2679
+ };
2680
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2681
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2682
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2683
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2684
+ readonly adapter: import("@jbrowse/core/PluginManager").PluggableConfigSchemaType;
2685
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>;
2686
+ readonly displayName: {
2687
+ type: "string";
2688
+ } & {
2689
+ defaultValue: string;
2690
+ };
2691
+ name: {
2692
+ type: "string";
2693
+ } & {
2694
+ defaultValue: string;
2695
+ };
2696
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>, any>>>>;
2296
2697
  }, {
2297
2698
  error: unknown;
2298
2699
  loadingP: Promise<void> | undefined;
@@ -2307,6 +2708,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2307
2708
  statusProgress: number | undefined;
2308
2709
  statusSource: string | undefined;
2309
2710
  refNameMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch>;
2711
+ contigLengthMismatches: Map<string, import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch>;
2310
2712
  } & {
2311
2713
  getConf(arg: string): any;
2312
2714
  } & {
@@ -2320,6 +2722,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2320
2722
  } & {
2321
2723
  setStatus(status?: import("@jbrowse/core/util").RpcStatus): void;
2322
2724
  setRefNameMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch): void;
2725
+ setContigLengthMismatch(adapterCacheKey: string, mismatch: import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch): void;
2323
2726
  } & {
2324
2727
  setLoaded({ regions, refNameAliases, lowerCaseRefNameAliases, canonicalToSeqAdapterRefNames, cytobands, geneticCodes, }: import("@jbrowse/core/assemblyManager/refNameMaps").RefNameMaps & {
2325
2728
  regions: import("@jbrowse/core/util").Region[];
@@ -2359,6 +2762,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2359
2762
  [x: string]: unknown;
2360
2763
  }, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/refNameMaps").RefNameAliases>;
2361
2764
  getRefNameMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").RefNameMismatch | undefined;
2765
+ getContigLengthMismatch(adapterCacheKey: string): import("@jbrowse/core/assemblyManager/assembly").ContigLengthMismatch | undefined;
2362
2766
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
2363
2767
  /**
2364
2768
  * #getter
@@ -2466,13 +2870,13 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2466
2870
  * mounts — rather than re-picking `displays[0]`, so the view's height math
2467
2871
  * can't diverge from what is on screen.
2468
2872
  */
2469
- trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IAnyType> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>>)[number]): any;
2873
+ trackHeight(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
2470
2874
  /**
2471
2875
  * #method
2472
2876
  * the measured in-flow label band above a track's rendering container,
2473
2877
  * 0 until TrackContainer has measured one or when no label is in flow
2474
2878
  */
2475
- trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IAnyType> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>>)[number]): number;
2879
+ trackLabelBand(track: (import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>)[number]): number;
2476
2880
  /**
2477
2881
  * #getter
2478
2882
  */
@@ -2490,7 +2894,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2490
2894
  * The display height of each track a whole-stack resize moves, by track
2491
2895
  * instance id: every shown track that is not minimized.
2492
2896
  */
2493
- readonly resizableTrackHeights: Map<any, any>;
2897
+ readonly resizableTrackHeights: Map<string, number>;
2494
2898
  /**
2495
2899
  * #method
2496
2900
  * Y offset (in pixels, from the top of the view) where a track's
@@ -2510,7 +2914,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2510
2914
  * up/down/top/bottom reorder inside this section rather than the full
2511
2915
  * `tracks` array, since the two sections lay out independently
2512
2916
  */
2513
- trackSection(id: string): any[];
2917
+ trackSection(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>)[];
2514
2918
  /**
2515
2919
  * #getter
2516
2920
  */
@@ -2577,11 +2981,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2577
2981
  /**
2578
2982
  * #getter
2579
2983
  */
2580
- readonly trackMap: Map<string, any>;
2984
+ readonly trackMap: Map<string, import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>>;
2581
2985
  /**
2582
2986
  * #method
2583
2987
  */
2584
- getTrack(id: string): any;
2988
+ getTrack(id: string): (import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableStateModelUnion<import("@jbrowse/core/pluggableElementTypes/models").TrackModelOf<LinearDisplayModel>, import("@jbrowse/core/util/tracks").TrackSnapshot>>) | undefined;
2585
2989
  /**
2586
2990
  * #method
2587
2991
  * displayId of the active (shown) display for a track in this view, used
@@ -2706,6 +3110,15 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2706
3110
  * there and shows the track its index came from
2707
3111
  */
2708
3112
  setSearchResults(searchResults: BaseResult[], searchQuery: string, assemblyName: string, onPick?: (result: BaseResult) => Promise<unknown>): void;
3113
+ /**
3114
+ * #action
3115
+ * Search the view's assembly by name, for a host listing the hits
3116
+ * itself. A row's `pick` lands as the search box does: it navigates
3117
+ * there and shows the track the hit's index came from.
3118
+ */
3119
+ search(query: string, opts?: {
3120
+ signal?: AbortSignal;
3121
+ }): Promise<SearchHits>;
2709
3122
  /**
2710
3123
  * #action
2711
3124
  */
@@ -2727,6 +3140,22 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2727
3140
  * loaded: loads it, then shows
2728
3141
  */
2729
3142
  launchTrack(trackId: string, initialSnapshot?: any, displayInitialSnapshot?: any, inlineConf?: Record<string, unknown>): Promise<any>;
3143
+ /**
3144
+ * #action
3145
+ * Replace the highlights `highlights` reads, each written as the launch
3146
+ * spec's `highlight` writes one: a locstring, or an object whose
3147
+ * `assemblyName` defaults to the view's. Throws on one that names no
3148
+ * region, writing none.
3149
+ */
3150
+ setHighlights(highlights: readonly (string | HighlightInput)[]): void;
3151
+ /**
3152
+ * #action
3153
+ * Show files from the user's disk as session tracks: one per data file,
3154
+ * beside the index among them that names it, its type guessed from its
3155
+ * name. Adds nothing when one file has no known type. Resolves the new
3156
+ * tracks' ids.
3157
+ */
3158
+ showFiles(files: readonly File[]): Promise<string[]>;
2730
3159
  } & {
2731
3160
  /**
2732
3161
  * #method
@@ -2735,7 +3164,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
2735
3164
  * both name one shown track. Answers the model id, or the argument
2736
3165
  * unchanged when nothing shown matches, so the move reports it.
2737
3166
  */
2738
- trackModelId(idOrTrackId: string): any;
3167
+ trackModelId(idOrTrackId: string): string;
2739
3168
  } & {
2740
3169
  moveTrack: (moving: string, target: string) => void;
2741
3170
  /**
@@ -3221,7 +3650,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3221
3650
  *
3222
3651
  * The coarse blocks are a 500ms throttle, and every consumer trades
3223
3652
  * freshness for not recomputing per animation frame — the location box,
3224
- * canvas's on-screen feature set, and the two per-bp scans behind
3653
+ * the feature display's on-screen feature set, and the two per-bp scans behind
3225
3654
  * `settledDynamicBlocks`. That trade is only sound while the answer is a
3226
3655
  * few frames old. **A jump makes it unrelated instead**, because there is
3227
3656
  * nothing to coalesce: the viewport left behind is not an approximation of
@@ -3447,10 +3876,17 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3447
3876
  * adds the region in view to the session's highlights
3448
3877
  */
3449
3878
  highlightCurrentRegion(): void;
3879
+ /**
3880
+ * #action
3881
+ * navigates to a highlight, zoomed out a little for context. Goes through
3882
+ * a locstring so it reaches a refName the view is not displaying
3883
+ */
3884
+ navToHighlight(highlight: HighlightType): Promise<boolean>;
3885
+ } & {
3450
3886
  /**
3451
3887
  * #action
3452
3888
  * navigates to the most recently added highlight on this view's
3453
- * assemblies, zoomed out a little for context
3889
+ * assemblies
3454
3890
  */
3455
3891
  navigateNewestHighlight(): Promise<void>;
3456
3892
  } & {
@@ -3487,7 +3923,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3487
3923
  */
3488
3924
  nonGenomicTrackBands(): {
3489
3925
  top: number;
3490
- height: any;
3926
+ height: number;
3491
3927
  }[];
3492
3928
  /**
3493
3929
  * #method
@@ -3531,8 +3967,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3531
3967
  rubberbandClickMenuItems(clickOffset: BpOffset): MenuItem[];
3532
3968
  /**
3533
3969
  * #method
3534
- * returns menu items for a highlight context menu. plugins can extend
3535
- * this via Core-extendPluggableElement to add items
3970
+ * a highlight chip's menu rows after Dismiss; extend this to add one
3536
3971
  */
3537
3972
  highlightMenuItems(_highlight: HighlightType): MenuItem[];
3538
3973
  } & {
@@ -3563,11 +3998,11 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3563
3998
  windowWidthBp: number;
3564
3999
  legacyBpPerPx: number;
3565
4000
  displayedRegions: Region[];
3566
- tracks: any[];
4001
+ tracks: import("@jbrowse/core/util/tracks").TrackSnapshot[];
3567
4002
  hideHeader: boolean;
3568
4003
  hideHeaderOverview: boolean;
3569
4004
  hideNoTracksActive: boolean;
3570
- trackSelectorType: "hierarchical";
4005
+ trackSelectorType: string;
3571
4006
  showCytobands: boolean;
3572
4007
  trackLabels: string;
3573
4008
  axis: import("@jbrowse/mobx-state-tree").ModelSnapshotType<Record<string, any>>;
@@ -3577,8 +4012,10 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
3577
4012
  scalebarOnly: boolean;
3578
4013
  launch: LaunchInput<InitState> | undefined;
3579
4014
  }>;
3580
- export type LinearGenomeViewStateModel = ReturnType<typeof stateModelFactory>;
4015
+ export interface LinearGenomeViewStateModel extends ReturnType<typeof stateModelFactory> {
4016
+ }
3581
4017
  export type LinearGenomeViewModel = Instance<LinearGenomeViewStateModel>;
4018
+ export type LinearGenomeViewTrack = LinearGenomeViewModel['tracks'][number];
3582
4019
  declare module '@jbrowse/core/PluginManager' {
3583
4020
  interface ViewTypeRegistry {
3584
4021
  LinearGenomeView: LinearGenomeViewStateModel;