import { GridComparatorFn } from '@mui/x-data-grid-pro'; import { DetailedCategoryWithTransactions, MonthlyCategoryTotals } from '../types'; type DataPoint = { x: Date; y: number; }; type Dataset = DataPoint[]; export interface StackedLineChartData { top_level_category_guid: string; category_guid: string; category_name: string; category_color: string; dataset: Dataset; } export declare const getStackedLineChartData: (totals: MonthlyCategoryTotals[], start: Date, end: Date) => StackedLineChartData[]; export declare const amountComparator: GridComparatorFn; export declare const categoryComparator: GridComparatorFn; export declare const buildCategoryDetailsChartData: (data: DetailedCategoryWithTransactions | null, monthsCount: number) => { monthlyAmounts: { x: string; y: number; }[]; tooltipLabels: { label: string; amount: number; header: string; }[][]; }; export declare const filterAndSortCategoriesWithTransactions: (categories: DetailedCategoryWithTransactions[]) => DetailedCategoryWithTransactions[]; export {};