UNPKG

molstar

Version:

A comprehensive macromolecular library.

16 lines (15 loc) 633 B
/** * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> */ import { Task } from '../../mol-task/index.js'; import { ModelFormat } from '../format.js'; import { CubeFile } from '../../mol-io/reader/cube/parser.js'; import { Trajectory } from '../../mol-model/structure.js'; export type CubeFormat = ModelFormat<CubeFile>; export declare namespace CubeFormat { function is(x?: ModelFormat): x is CubeFormat; function create(cube: CubeFile): CubeFormat; } export declare function trajectoryFromCube(cube: CubeFile): Task<Trajectory>;