import { StatCardChange, ChartDataPoint } from './types'; /** * Calculates whether the chart data is trending down (first value > last value) * @param chartData - Array of chart data points * @returns true if trending down, false otherwise */ export declare const calculateTrend: (chartData?: ChartDataPoint[]) => boolean; /** * Calculates delta change from chart data (first vs last value) * @param chartData - Array of chart data points * @returns Calculated change object with value and valueType, or null if calculation is not possible */ export declare const calculateChangeFromChartData: (chartData?: ChartDataPoint[]) => Pick | null; /** * Gets the effective change to use for display * Uses provided change prop if available, otherwise calculates from chartData * @param change - Optional change prop from component * @param chartData - Array of chart data points * @returns Effective change object or null */ export declare const getEffectiveChange: (change?: StatCardChange | null | undefined, chartData?: ChartDataPoint[]) => StatCardChange | Pick | null; /** * Determines if decrease color should be shown * Uses effectiveChange valueType if available, otherwise falls back to trend calculation * @param effectiveChange - The effective change object (from prop or calculated) * @param isTrendingDown - Whether chart data is trending down * @returns true if decrease color should be shown, false for increase */ export declare const shouldShowDecreaseColor: (effectiveChange: StatCardChange | Pick | null, isTrendingDown: boolean) => boolean;