@baruchiro/actual-mcp
Version:
Actual Budget MCP server exposing API functionality
16 lines • 572 B
TypeScript
import type { Account, Transaction } from '../../types.js';
export interface MonthBalance {
account?: string;
year: number;
month: number;
balance: number;
transactions: number;
change?: number;
}
export declare class BalanceHistoryCalculator {
private calculateChanges;
private calculateChangesForMultipleAccounts;
private generateMonthRange;
calculate(account: Account | undefined, accounts: Account[], transactions: Transaction[], months: number, endDate: Date): MonthBalance[];
}
//# sourceMappingURL=balance-calculator.d.ts.map