/** * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ import { PluginContext } from '../../mol-plugin/context.js'; import { StateObjectRef, StateObjectSelector, StateTransformer, StateTransform, StateObjectCell } from '../../mol-state/index.js'; import { PluginStateObject as SO } from '../objects.js'; import { StateTransforms } from '../transforms.js'; import { RootStructureDefinition } from '../helpers/root-structure.js'; import { StructureComponentParams, StaticStructureComponentType } from '../helpers/structure-component.js'; import { BuiltInTrajectoryFormat, TrajectoryFormatProvider } from '../formats/trajectory.js'; import { StructureRepresentationBuilder } from './structure/representation.js'; import { StructureSelectionQuery } from '../helpers/structure-selection-query.js'; import { Expression } from '../../mol-script/language/expression.js'; import { TrajectoryHierarchyBuilder } from './structure/hierarchy.js'; export declare class StructureBuilder { plugin: PluginContext; private get dataState(); private parseTrajectoryData; private parseTrajectoryBlob; readonly hierarchy: TrajectoryHierarchyBuilder; readonly representation: StructureRepresentationBuilder; parseTrajectory(data: StateObjectRef, format: BuiltInTrajectoryFormat | TrajectoryFormatProvider): Promise>; parseTrajectory(blob: StateObjectRef, params: StateTransformer.Params): Promise>; createModel(trajectory: StateObjectRef, params?: StateTransformer.Params, initialState?: Partial): Promise>, import("../../mol-state/index.js").StateObject>, any>>>; insertModelProperties(model: StateObjectRef, params?: StateTransformer.Params, initialState?: Partial): Promise>, import("../../mol-state/index.js").StateObject>, any>>>; tryCreateUnitcell(model: StateObjectRef, params?: StateTransformer.Params, initialState?: Partial): Promise>, import("../../mol-state/index.js").StateObject>, any>>> | undefined; createStructure(modelRef: StateObjectRef, params?: RootStructureDefinition.Params, initialState?: Partial, tags?: string | string[]): Promise>, import("../../mol-state/index.js").StateObject>, any>>>; insertStructureProperties(structure: StateObjectRef, params?: StateTransformer.Params): Promise>, import("../../mol-state/index.js").StateObject>, any>>>; isComponentTransform(cell: StateObjectCell): boolean; /** returns undefined if the component is empty/null */ tryCreateComponent(structure: StateObjectRef, params: StructureComponentParams, key: string, tags?: string[]): Promise | undefined>; tryCreateComponentFromExpression(structure: StateObjectRef, expression: Expression, key: string, params?: { label?: string; tags?: string[]; }): Promise>, import("../../mol-state/index.js").StateObject>, any>> | undefined>; tryCreateComponentStatic(structure: StateObjectRef, type: StaticStructureComponentType, params?: { label?: string; tags?: string[]; }): Promise>, import("../../mol-state/index.js").StateObject>, any>> | undefined>; tryCreateComponentFromSelection(structure: StateObjectRef, selection: StructureSelectionQuery, key: string, params?: { label?: string; tags?: string[]; }): Promise | undefined>; constructor(plugin: PluginContext); }