import { type IColor, type IColorPalette, type IRgbColorValue } from "@gooddata/sdk-model"; import { type CalculationType } from "../../interfaces/comparison.js"; /** * @internal */ interface ICalculationDefaultValue { defaultLabelKeys: IDefaultLabelKeys; defaultFormat: string | null; defaultSubFormat: string | null; } /** * @internal */ interface IDefaultLabelKeys { nonConditionalKey: string; positiveKey?: string; negativeKey?: string; equalsKey?: string; } /** * @internal */ declare enum ComparisonColorType { POSITIVE = "positive", NEGATIVE = "negative", EQUALS = "equals" } /** * @internal */ declare const CALCULATION_VALUES_DEFAULT: Record; /** * @internal */ declare const DEFAULT_COMPARISON_PALETTE: IColorPalette; /** * Get comparison format * * @remarks * We offer the option to inherit the format with a null value. When the provided format is null, * it indicates the user's preference to utilize the inherit format. * * If the format is undefined, the default format will be used. * * @internal */ declare const getComparisonFormat: (providedFormat: string | null | undefined, defaultFormat: string | null) => string | null; /** * Method to retrieve default values corresponding to the calculation type. * * @internal */ declare const getCalculationValuesDefault: (calculationType?: CalculationType) => ICalculationDefaultValue; /** * @internal */ declare const getComparisonRgbColor: (color: IColor | null | undefined, colorType: ComparisonColorType, colorPalette?: IColorPalette) => IRgbColorValue; /** * NOTE: exported to satisfy sdk-ui-ext; is internal, must not be used outside of SDK; will disapppear. */ export type { ICalculationDefaultValue, IDefaultLabelKeys }; export { CALCULATION_VALUES_DEFAULT, DEFAULT_COMPARISON_PALETTE, getCalculationValuesDefault, getComparisonFormat, getComparisonRgbColor, ComparisonColorType, }; //# sourceMappingURL=headlineHelper.d.ts.map