/** * Copyright (c) 2019-2024 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose * @author Fred Ludlow * @author Paul Pillot * * based in part on NGL (https://github.com/arose/ngl) */ import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; import { Structure } from '../../../mol-model/structure.js'; import { Features } from './features.js'; import { ContactProvider } from './contacts.js'; export declare const GeometryParams: { distanceMax: PD.Numeric; backbone: PD.BooleanParam; accAngleDevMax: PD.Numeric; ignoreHydrogens: PD.BooleanParam; donAngleDevMax: PD.Numeric; accOutOfPlaneAngleMax: PD.Numeric; donOutOfPlaneAngleMax: PD.Numeric; }; export type GeometryParams = typeof GeometryParams; type GeometryProps = PD.Values; declare const HydrogenBondsParams: { water: PD.BooleanParam; sulfurDistanceMax: PD.Numeric; distanceMax: PD.Numeric; backbone: PD.BooleanParam; accAngleDevMax: PD.Numeric; ignoreHydrogens: PD.BooleanParam; donAngleDevMax: PD.Numeric; accOutOfPlaneAngleMax: PD.Numeric; donOutOfPlaneAngleMax: PD.Numeric; }; type HydrogenBondsParams = typeof HydrogenBondsParams; declare const WeakHydrogenBondsParams: { distanceMax: PD.Numeric; backbone: PD.BooleanParam; accAngleDevMax: PD.Numeric; ignoreHydrogens: PD.BooleanParam; donAngleDevMax: PD.Numeric; accOutOfPlaneAngleMax: PD.Numeric; donOutOfPlaneAngleMax: PD.Numeric; }; type WeakHydrogenBondsParams = typeof WeakHydrogenBondsParams; export declare function getGeometryOptions(props: GeometryProps): { ignoreHydrogens: boolean; includeBackbone: boolean; maxAccAngleDev: number; maxDonAngleDev: number; maxAccOutOfPlaneAngle: number; maxDonOutOfPlaneAngle: number; }; export type GeometryOptions = ReturnType; export declare function checkGeometry(structure: Structure, don: Features.Info, acc: Features.Info, opts: GeometryOptions): true | undefined; export declare const HydrogenDonorProvider: Features.Provider; export declare const WeakHydrogenDonorProvider: Features.Provider; export declare const HydrogenAcceptorProvider: Features.Provider; export declare const HydrogenBondsProvider: ContactProvider; export declare const WeakHydrogenBondsProvider: ContactProvider; export {};