molstar
Version:
A comprehensive macromolecular library.
21 lines (20 loc) • 714 B
TypeScript
/**
* Copyright (c) 2020-2025 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { CubeFile } from '../../mol-io/reader/cube/parser.js';
import { Volume } from '../../mol-model/volume.js';
import { Task } from '../../mol-task/index.js';
import { ModelFormat } from '../format.js';
export declare function volumeFromCube(source: CubeFile, params?: {
dataIndex?: number;
label?: string;
entryId?: string;
}): Task<Volume>;
export { CubeFormat };
type CubeFormat = ModelFormat<CubeFile>;
declare namespace CubeFormat {
function is(x?: ModelFormat): x is CubeFormat;
function create(cube: CubeFile): CubeFormat;
}