import { default as moment } from 'moment'; import { IconColorList, IconStringList } from '../Icons/Icon.models'; type changeObjectNewProps = { /** Icon color to display in determine change */ iconColor: IconColorList; /** Icon to display in determine change */ icon: IconStringList; /** This className will be added to the text */ textClassName: string; }; /** This function determines the change and reverse logic based on the change percentage */ export declare const determineChangeValue: (changePct: number, reverse?: boolean, isNeutralColor?: boolean) => changeObjectNewProps; type TimeframeTypeBase = { timeValue: moment.DurationInputArg2; aggregation: string; display: string; }; type CurrentTimeframeType = TimeframeTypeBase & { type: 'current'; value?: never; }; type PreviousTimeframeType = TimeframeTypeBase & { type: 'previous'; value?: never; }; type HistoricalTimeframeTypeBase = TimeframeTypeBase & { type: 'historical' | 'trailing'; }; type CustomHistoricalTimeframeType = HistoricalTimeframeTypeBase & { value: 'custom'; compareDisplay: string; }; type NumberHistoricalTimeframeType = HistoricalTimeframeTypeBase & { value: number; compareDisplay?: never; }; type HistoricalTimeframeType = CustomHistoricalTimeframeType | NumberHistoricalTimeframeType; type QuarterlyTimeframeType = TimeframeTypeBase & { type: 'quarterly'; year: number; quarter: number; value?: never; }; type PeriodDisplaysParams = { timeframe: TimeframeType; column: 1 | 2; compareWith?: CompareWith; }; export type TimeframeType = CurrentTimeframeType | HistoricalTimeframeType | QuarterlyTimeframeType | PreviousTimeframeType; export type CompareWith = 'previous_period' | 'previous_year'; export declare const getPeriodDisplays: ({ timeframe, column, compareWith, }: PeriodDisplaysParams) => string; export declare const getPreviousPeriodRange: (timeframe: TimeframeType, startDate: string, endDate: string, compareWith?: string) => string | null; export type DateType = { startDate: string; endDate: string; }; export declare const formatDates: (currentPeriodDates: DateType, comparisonPeriodDates: DateType | undefined) => string; export declare const getPartialPeriodDates: (currentPeriodDates: DateType, comparisonPeriodDates?: DateType) => { currentDate: string; comparisonDate: string; }; export {};