export declare const colors: string[]; export declare const abbreviateNumber: (num: number, suffix?: string) => string | number; interface KeyLegend { key: string; stroke: string; } export declare const createDataKeyLegend: (obj: Record, colorSet?: Record | string[]) => KeyLegend[]; export declare const dateRangeIncludesTodayCheck: (endDate: string | Date) => boolean; export declare const getHeight: (width: number) => number; export declare const lineAnimationDelay: (length: number) => number | undefined; export declare const lineAnimationDuration: (length: number) => number | undefined; export declare const statColors: () => Record; interface GraphDataItem { date: string | number; [key: string]: unknown; } interface MonthAgoResult { date: number; value: number | string; } /** * Creates data point for one month ago by finding or interpolating values from the provided graph data * @param graphData Array of data points containing dates and values * @param keyName String or array of strings representing the key(s) to extract values from * @param weeklyDataPoints Optional boolean indicating if data points are weekly * @returns Object containing normalized date and value for one month ago * @example * const data = [ * { date: '2024-05-01', revenue: 100 }, * { date: '2024-05-08', revenue: 200 } * ]; * createMonthAgoData(data, 'revenue', true); * // Returns: { date: 16830, value: 150 } */ export declare const createMonthAgoData: (graphData: GraphDataItem[], keyName: string | string[], weeklyDataPoints?: boolean) => MonthAgoResult; export {};