import { DataTableCol, DataTableRow } from "../components/molecules/DataTable/types"; import { CostResponse, CreditUnit, GraphData, GraphType, ParsedRevenueData, USAGE_GRAPHS_VIEW_FUNCTION } from "../types"; export declare const getRevenueTableData: (response: CostResponse, creditUnit?: CreditUnit, viewType?: GraphType, graphViewFunction?: USAGE_GRAPHS_VIEW_FUNCTION, currency?: string) => { rows: DataTableRow[]; columns: DataTableCol[]; csvColumns: DataTableCol[]; totalRevenue: number; graphData: { labels: string[]; datasets: GraphData[]; }; }; export declare const getTableRows: (data: ParsedRevenueData[], creditUnit?: CreditUnit, viewType?: GraphType) => DataTableRow[]; export declare const parseRevenueResponse: (response: CostResponse, viewType: GraphType, graphViewFunction: USAGE_GRAPHS_VIEW_FUNCTION) => { parsedData: ParsedRevenueData[]; secondsSinceEpochIntervals: number[]; graphDataSets: GraphData[]; totalRevenue: number; timeGroupingInterval: string; }; export declare const getCsvColumns: (secondsSinceEpochIntervals: number[]) => string[]; export declare const getCsvRows: (rows: DataTableRow[], columns: string[]) => Record[]; export declare const createAndWriteCsvFile: (csvRows: Record[], viewType: GraphType, productItem: string) => void; export declare const exportCostDataCsv: ({ creditUnit, graphViewFunction, productItem, costData, viewType, }: { costData?: CostResponse | undefined; creditUnit?: CreditUnit | undefined; graphViewFunction: USAGE_GRAPHS_VIEW_FUNCTION; productItem: string; viewType: GraphType; }) => void;