/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Loci } from '../../../mol-model/loci.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { Representation, RepresentationParamsGetter, RepresentationContext } from '../../representation.js'; export interface DistanceData { pairs: Loci.Bundle<2>[]; } export declare const DistanceParams: { visuals: PD.MultiSelect<"text" | "lines">; unitLabel: PD.Text; borderWidth: PD.Numeric; customText: PD.Text; textColor: PD.Color; textSize: PD.Numeric; sizeFactor: PD.Numeric; borderColor: PD.Color; offsetX: PD.Numeric; offsetY: PD.Numeric; offsetZ: PD.Numeric; background: PD.BooleanParam; backgroundMargin: PD.Numeric; backgroundColor: PD.Color; backgroundOpacity: PD.Numeric; tether: PD.BooleanParam; tetherLength: PD.Numeric; tetherBaseWidth: PD.Numeric; attachment: PD.Select<"bottom-left" | "bottom-center" | "bottom-right" | "middle-left" | "middle-center" | "middle-right" | "top-left" | "top-center" | "top-right">; fontFamily: PD.Select; fontQuality: PD.Select; fontStyle: PD.Select; fontVariant: PD.Select; fontWeight: PD.Select; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; density: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; lineSizeAttenuation: PD.BooleanParam; linesColor: PD.Color; linesSize: PD.Numeric; dashLength: PD.Numeric; }; export type DistanceParams = typeof DistanceParams; export type DistanceProps = PD.Values; export type DistanceRepresentation = Representation; export declare function DistanceRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter): DistanceRepresentation;