UNPKG

molstar

Version:

A comprehensive macromolecular library.

16 lines (15 loc) 1.41 kB
/** * Copyright (c) 2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> */ import { PluginContext } from '../../mol-plugin/context'; import { StateObjectSelector } from '../../mol-state'; /** * Queries all MolViewSpec references in the current state of the plugin. */ export declare function queryMVSRef(plugin: PluginContext, ref: string): import("../../mol-state").StateSelection.CellSeq<import("../../mol-state").StateObjectCell<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateTransform<import("../../mol-state").StateTransformer<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, any>>>>; /** * Creates a mapping of all MolViewSpec references in the current state of the plugin. */ export declare function createMVSRefMap(plugin: PluginContext): Map<string, StateObjectSelector<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateTransformer<import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, import("../../mol-state").StateObject<any, import("../../mol-state").StateObject.Type<any>>, any>>[]>;