UNPKG

molstar

Version:

A comprehensive macromolecular library.

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