import type { DimensionCost, ServiceCost } from '../aws/cost-explorer';
export interface CostRange {
    start: string;
    end: string;
    label: string;
}
export interface MonthToDateRange extends CostRange {
    previous: CostRange;
    daysElapsed: number;
    daysInMonth: number;
}
export declare function monthToDateRange(now?: Date): MonthToDateRange;
export declare function rollingComparisonRange(days: number, now?: Date): {
    current: CostRange;
    previous: CostRange;
};
export declare function projectedMonthlyCost(total: number, daysElapsed: number, daysInMonth: number): number;
export declare function percentChange(current: number, previous: number): number | null;
export interface ComparedServiceCost extends ServiceCost {
    previousAmount: number;
    changePercent: number | null;
}
export declare function compareServiceCosts(current: ServiceCost[], previous: ServiceCost[]): ComparedServiceCost[];
export declare function egressUsageCosts(costs: DimensionCost[]): DimensionCost[];
