import { Theme } from '@mui/material'; import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy, CategoryTotal } from '../types'; /** * Augment categories * @param categories - Categories to augment * @param monthlyCategoryTotals - Monthly category totals * @param currentCategoryTotals - Current month category totals * @param copy - Category copy */ export declare const augmentCategories: (categories: Category[], copy: CategoryCopy, currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[]; export declare const getCategoryColor: (guid: string, theme: Theme) => string; export declare const getCategoryIcon: (guid: string) => string | undefined; /** * get the transactions belonging to parent categories * @param detailedCategories - detailed categories from the category store * @param transactions - sortedTransactions from the transaction store */ export declare const getDetailedCategoryTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[]; export declare const findCategory: (categories: Category[], categoryGuid: string | undefined) => Category | undefined; export declare const findDetailedCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined; export declare const findDetailedSubCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined; export declare const findCategoryTotalsByParent: (categories: Category[], dateRangeTotals: DateRangeCategoryTotals[]) => CategoryTotal[]; export declare const isIncome: (categories: Category[], guid: string) => boolean;