import type { SingleValueSlots } from './iterate-slots.js'; import type { SparklineDisplayProps } from '../../core/components/sparkline-display/SparklineDisplay.js'; import type { SingleValueConfigProperties, SingleValueProps, SingleValueSparklineConfig } from '../types/single-value.js'; /** * Deserializes a SingleValue string config * * @param serializedConfig - string * @returns SingleValueConfigProperties */ export declare function deserializeConfig(serializedConfig: string): SingleValueConfigProperties; /** * Checks if the contextConfig is a serialized-string configuration * @param contextConfig - context configuration. * @returns true if the received contextConfig is a string. */ export declare function isSerializedConfig(contextConfig: SingleValueConfigProperties | string): contextConfig is string; /** * Normalizes a SingleValue config to look like the configuration object * expected by the SingleValueConfig. * * @param config - config from context * @returns SingleValueConfigProperties */ export declare function normalizeConfig(config: SingleValueConfigProperties): SingleValueConfigProperties; export declare const buildSparklineConfig: (slotsSparklineConfig?: SparklineDisplayProps, contextSparklineConfig?: SingleValueSparklineConfig) => SingleValueSparklineConfig; /** * Build SingleValue configuration. * * @param props - config from props * @param slots - config from slot components * @param contextConfig - config from the context * @returns SingleValueConfigProperties */ export declare function buildSingleValueConfig(props: Omit, slots: SingleValueSlots, contextConfig: SingleValueConfigProperties): { label: string | undefined; color: string | undefined; unit: (string & {}) | readonly Readonly<{ group: import("@dynatrace-sdk/units/types/packages/util/units/src/util-convert/types.js").Group; index: number; exponent: number; }>[] | undefined; formatter: import("../../index.js").Formatter | import("@dynatrace-sdk/units").FormatOptions | undefined; thresholds: import("../../../index.js").Threshold[] | undefined; alignment: import("../../index.js").SingleValueAlignment | undefined; sparkline: SingleValueSparklineConfig | undefined; };