import { InvoiceProductItem, Plan } from "../../../types"; export interface DropdownOption { label: string; productItemId: string; value: string; } export interface DateRangeData { cumulativeUsage: number; label: string; timestamp: number; } /** * Calculate the start and end times for the invoice period * @param invoiceStartTimeInSeconds - Invoice start time in seconds * @param invoiceEndTimeInSeconds - Invoice end time in seconds * @returns Object with startTime and endTime in milliseconds */ export declare const calculateInvoiceTimeRange: (invoiceStartTimeInSeconds?: number, invoiceEndTimeInSeconds?: number) => { startTime: number; endTime: number; }; /** * Generate date range with usage data for the allowances chart and table * @param startTime - Start time in milliseconds * @param endTime - End time in milliseconds * @param secondsSinceEpochIntervals - Array of timestamps from API * @param usageValues - Array of usage values from API * @returns Object with date range data, usage data, and labels */ export declare const generateDateRangeWithUsage: (startTime: number, endTime: number, secondsSinceEpochIntervals: number[], usageValues: number[]) => { fullDateRange: number[]; includedUnitsLabels: string[]; usageDataWithGaps: number[]; }; /** * Filter dropdown options to only include meters with included units configured * @param productItemInvoices - Array of product item invoices * @param productPlan - Pricing plan data * @returns Filtered array of dropdown options */ export declare const mapProductItemsToDropdownOptions: (productItemInvoices?: InvoiceProductItem[], productPlan?: Plan) => DropdownOption[];