/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Structure } from '../../../mol-model/structure.js'; import { RepresentationContext, RepresentationParamsGetter } from '../../representation.js'; import { ThemeRegistryContext } from '../../../mol-theme/theme.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { StructureRepresentation, StructureRepresentationProvider } from '../representation.js'; export declare const PolyhedronParams: { bumpFrequency: PD.Numeric; density: PD.Numeric; visuals: PD.MultiSelect<"coordination-polyhedron-mesh">; includeParent: PD.BooleanParam; minCoordination: PD.Numeric; maxCoordination: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; export type PolyhedronParams = typeof PolyhedronParams; export declare function getPolyhedronParams(ctx: ThemeRegistryContext, structure: Structure): { bumpFrequency: PD.Numeric; density: PD.Numeric; visuals: PD.MultiSelect<"coordination-polyhedron-mesh">; includeParent: PD.BooleanParam; minCoordination: PD.Numeric; maxCoordination: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }; export type PolyhedronRepresentation = StructureRepresentation; export declare function PolyhedronRepresentation(ctx: RepresentationContext, getParams: RepresentationParamsGetter): PolyhedronRepresentation; export declare const PolyhedronRepresentationProvider: StructureRepresentationProvider<{ bumpFrequency: PD.Numeric; density: PD.Numeric; visuals: PD.MultiSelect<"coordination-polyhedron-mesh">; includeParent: PD.BooleanParam; minCoordination: PD.Numeric; maxCoordination: PD.Numeric; unitKinds: PD.MultiSelect<"spheres" | "gaussians" | "atomic">; doubleSided: PD.BooleanParam; flipSided: PD.BooleanParam; flatShaded: PD.BooleanParam; ignoreLight: PD.BooleanParam; celShaded: PD.BooleanParam; xrayShaded: PD.Select; transparentBackfaces: PD.Select<"off" | "on" | "opaque">; bumpAmplitude: PD.Numeric; interior: PD.Group; substanceStrength: number; }>>; alpha: PD.Numeric; quality: PD.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; material: PD.Group>; clip: PD.Group[]; }>>; emissive: PD.Numeric; instanceGranularity: PD.BooleanParam; lod: PD.Vec3; cellSize: PD.Numeric; batchSize: PD.Numeric; }, "polyhedron">;