/** * Copyright (c) 2023-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Adam Midlik */ import { SortedArray } from '../../../mol-data/int.js'; import type { ColorTheme } from '../../../mol-theme/color.js'; import type { ThemeDataContext } from '../../../mol-theme/theme.js'; import { Color } from '../../../mol-util/color/index.js'; import { ParamDefinition as PD } from '../../../mol-util/param-definition.js'; export declare const MVSCategoricalPaletteParams: { colors: PD.Mapped | PD.NamedParams[], "dictionary">>; repeatColorList: PD.BooleanParam; sort: PD.Select<"none" | "numeric" | "lexical">; sortDirection: PD.Select<"ascending" | "descending">; caseInsensitive: PD.BooleanParam; setMissingColor: PD.BooleanParam; missingColor: PD.Color; }; export type MVSCategoricalPaletteParams = typeof MVSCategoricalPaletteParams; export type MVSCategoricalPaletteProps = PD.Values; export declare const MVSDiscretePaletteParams: { colors: PD.ObjectList>; mode: PD.Select<"absolute" | "normalized">; xMin: PD.Converted; xMax: PD.Converted; }; export type MVSDiscretePaletteParams = typeof MVSDiscretePaletteParams; export type MVSDiscretePaletteProps = PD.Values; export declare const MVSContinuousPaletteParams: { colors: PD.ColorList; mode: PD.Select<"absolute" | "normalized">; xMin: PD.Converted; xMax: PD.Converted; setUnderflowColor: PD.BooleanParam; underflowColor: PD.Color; setOverflowColor: PD.BooleanParam; overflowColor: PD.Color; }; export type MVSContinuousPaletteParams = typeof MVSContinuousPaletteParams; export type MVSContinuousPaletteProps = PD.Values; /** Parameter definition for color theme "MVS Annotation" */ export declare const MVSAnnotationColorThemeParams: { annotationId: PD.Text; fieldName: PD.Text; background: PD.Color; palette: PD.Mapped, "continuous"> | PD.NamedParams[]; mode: "absolute" | "normalized"; xMin: number | null; xMax: number | null; }>, "discrete"> | PD.NamedParams, "direct"> | PD.NamedParams | PD.NamedParams[], "dictionary">; repeatColorList: boolean; sort: "none" | "numeric" | "lexical"; sortDirection: "ascending" | "descending"; caseInsensitive: boolean; setMissingColor: boolean; missingColor: Color; }>, "categorical">>; }; export type MVSAnnotationColorThemeParams = typeof MVSAnnotationColorThemeParams; /** Parameter values for color theme "MVS Annotation" */ export type MVSAnnotationColorThemeProps = PD.Values; /** Return color theme that assigns colors based on an annotation file. * The annotation file itself is handled by a custom model property (`MVSAnnotationsProvider`), * the color theme then just uses this property. */ export declare function MVSAnnotationColorTheme(ctx: ThemeDataContext, props: MVSAnnotationColorThemeProps): ColorTheme; /** A thingy that is needed to register color theme "MVS Annotation" */ export declare const MVSAnnotationColorThemeProvider: ColorTheme.Provider; export declare function makeContinuousPaletteCheckpoints(props: MVSContinuousPaletteProps): { colors: Color[]; checkpoints: SortedArray; };