/** * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * Adapted from NGL. * * @author David Sehnal * @author Alexander Rose */ import { Vec3 } from '../../../mol-math/linear-algebra.js'; import { Task } from '../../../mol-task/index.js'; import { StringLike } from '../../common/string-like.js'; import { ReaderResult as Result } from '../result.js'; export interface DxFile { name: string; header: DxFile.Header; values: Float64Array; } export declare namespace DxFile { interface Header { dim: Vec3; min: Vec3; h: Vec3; } } export declare function parseDx(data: StringLike | Uint8Array, name: string): Task>;