/** * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Color, ColorMap } from '../../mol-util/color/index.js'; import { Unit, ElementIndex } from '../../mol-model/structure.js'; import type { ColorTheme } from '../color.js'; import { ParamDefinition as PD } from '../../mol-util/param-definition.js'; import { ThemeDataContext } from '../theme.js'; import { SecondaryStructureValue } from '../../mol-model-props/computed/secondary-structure.js'; export declare const SecondaryStructureColors: ColorMap<{ alphaHelix: number; threeTenHelix: number; piHelix: number; betaTurn: number; betaStrand: number; coil: number; bend: number; turn: number; dna: number; rna: number; carbohydrate: number; }>; export type SecondaryStructureColors = typeof SecondaryStructureColors; export declare const SecondaryStructureColorThemeParams: { saturation: PD.Numeric; lightness: PD.Numeric; colors: PD.Mapped, "default"> | PD.NamedParams, "custom">>; }; export type SecondaryStructureColorThemeParams = typeof SecondaryStructureColorThemeParams; export declare function getSecondaryStructureColorThemeParams(ctx: ThemeDataContext): { saturation: PD.Numeric; lightness: PD.Numeric; colors: PD.Mapped, "default"> | PD.NamedParams, "custom">>; }; export declare function secondaryStructureColor(colorMap: SecondaryStructureColors, unit: Unit, element: ElementIndex, computedSecondaryStructure?: SecondaryStructureValue): Color; export declare function SecondaryStructureColorTheme(ctx: ThemeDataContext, props: PD.Values): ColorTheme; export declare const SecondaryStructureColorThemeProvider: ColorTheme.Provider;