import type { SingleValueSlots } from './iterate-slots.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?: SingleValueSparklineConfig, contextSparklineConfig?: SingleValueSparklineConfig) => SingleValueSparklineConfig | undefined; /** * Build SingleValue configuration. * * @param props - config from props * @param slots - config from slot components * @param contextConfig - config from the context * @returns SingleValueInternalConfig */ export declare function buildSingleValueConfig(props: Omit, slots: SingleValueSlots, contextConfig: SingleValueConfigProperties): SingleValueConfigProperties;