UNPKG

molstar

Version:

A comprehensive macromolecular library.

16 lines (15 loc) 615 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'; import { ModelFormat } from '../format'; import { CubeFile } from '../../mol-io/reader/cube/parser'; import { Trajectory } from '../../mol-model/structure'; 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>;