
import { Transaction } from '@/components/TransactionCard';

export interface FilteringProps {
  transactions: Transaction[];
  selectedMonth: string;
  setSelectedMonth: (month: string) => void;
  searchQuery: string;
  setFilteredTransactions: (transactions: Transaction[]) => void;
}

export interface FilteringReturn {
  handlePrevMonth: () => void;
  handleNextMonth: () => void;
  getTotalExpenses: (filteredTransactions: Transaction[]) => number;
  forceRefresh: () => void;
}
