/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Mesh } from '../../../../mol-geo/geometry/mesh/mesh.js'; import { Structure } from '../../../../mol-model/structure.js'; import { Theme } from '../../../../mol-theme/theme.js'; import { VisualContext } from '../../../visual.js'; import { BlobDensityProps } from '../../../structure/visual/util/blob-surface.js'; /** The subset of representation props needed to build a blob surface target geometry. */ export interface BlobSurfaceTargetProps { blobSize: number; blobMethod: BlobDensityProps['blobMethod']; resolution: number; adjustResolution: boolean; blobShape: BlobDensityProps['blobShape']; radiusOffset: number; smoothness: number; } /** * The geometry for a blob surface target is a coarse surface of the target's elements, built by * fitting a small number of blobs to them and polygonizing their union. */ export declare function createBlobSurfaceTargetGeometry(ctx: VisualContext, target: Structure, theme: Theme, props: BlobSurfaceTargetProps, existing?: Mesh): Promise; /** Whether the blob surface geometry must be rebuilt because relevant props changed. */ export declare function blobSurfaceTargetGeometryPropsChanged(oldProps: BlobSurfaceTargetProps, newProps: BlobSurfaceTargetProps): boolean;