/** * Copyright (c) 2024-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Adam Midlik */ import { Mesh } from '../../../mol-geo/geometry/mesh/mesh.js'; import { Text } from '../../../mol-geo/geometry/text/text.js'; import { Box3D, Sphere3D } from '../../../mol-math/geometry.js'; import { Mat4 } from '../../../mol-math/linear-algebra.js'; import { Shape } from '../../../mol-model/shape.js'; import { Structure } from '../../../mol-model/structure.js'; import { PluginStateObject as SO } from '../../../mol-plugin-state/objects.js'; import { StateObject, StateTransformer } from '../../../mol-state/index.js'; import { Asset } from '../../../mol-util/assets.js'; import { Clip } from '../../../mol-util/clip.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { MolstarNode, MolstarNodeParams, MolstarSubtree } from '../tree/molstar/molstar-tree.js'; import { MVSNode } from '../tree/mvs/mvs-tree.js'; type PrimitivesParams = MolstarNode<'primitives'>['params']; export declare function getPrimitiveStructureRefs(primitives: MolstarSubtree<'primitives'>): Set; declare const MVSPrimitivesData_base: { new (data: PrimitiveBuilderContext, props?: { label: string; description?: string; } | undefined): { id: import("../../../mol-util/index.js").UUID; type: SO.TypeInfo; label: string; description?: string; data: PrimitiveBuilderContext; }; type: SO.TypeInfo; is(obj?: StateObject): obj is StateObject; }; export declare class MVSPrimitivesData extends MVSPrimitivesData_base { } declare const MVSPrimitiveShapes_base: { new (data: { mesh?: Shape; labels?: Shape; }, props?: { label: string; description?: string; } | undefined): { id: import("../../../mol-util/index.js").UUID; type: SO.TypeInfo; label: string; description?: string; data: { mesh?: Shape; labels?: Shape; }; }; type: SO.TypeInfo; is(obj?: StateObject): obj is StateObject<{ mesh?: Shape; labels?: Shape; }, SO.TypeInfo>; }; export declare class MVSPrimitiveShapes extends MVSPrimitiveShapes_base { } export interface MVSPrimitiveShapeSourceData { kind: 'mvs-primitives'; node: MVSNode<'primitives'>; groupToNode: Map>; } export type MVSDownloadPrimitiveData = typeof MVSDownloadPrimitiveData; export declare const MVSDownloadPrimitiveData: StateTransformer>; interface PrimitivesSubtree { kind: 'primitives'; params: MolstarNodeParams<'primitives'>; children?: { kind: 'primitive'; params: MolstarNodeParams<'primitive'>; }[]; } export type MVSInlinePrimitiveData = typeof MVSInlinePrimitiveData; export declare const MVSInlinePrimitiveData: StateTransformer>; export type MVSBuildPrimitiveShape = typeof MVSBuildPrimitiveShape; export declare const MVSBuildPrimitiveShape: StateTransformer; objects: PD.ObjectList>; }> | undefined; }>>; export declare const MVSShapeRepresentation3D: StateTransformer>; interface PrimitiveBuilderContext { node: MolstarNode<'primitives'>; defaultStructure?: Structure; structureRefs: Record; primitives: MolstarNode<'primitive'>[]; options: PrimitivesParams; positionCache: Map; instances: Mat4[] | undefined; emptySelectionWarningPrinted?: boolean; } export {};