declare function fetchById(id: number): void;
declare function fetchByTransactionId(transactionId: string): void;
declare const uniqueTransactionId: unknown;
declare const request: unknown;
declare const paymentId: undefined  if (paymentId);
declare const uniqueTransactionId: unknown;
declare const request: unknown;
declare const duplicateTransactionId: unknown;
declare const firstRequest: unknown;
declare const secondPaymentData: {
  order_id: 4;
  user_id: 4;
  amount: 50;
  method: 'credit_card';
  transaction_id: unknown
};
declare const secondRequest: unknown;
declare const errorMessage: unknown;
declare const uniqueTransactionId: unknown;
declare const request: undefined;
declare const fetchedPayment: unknown;
declare const uniqueTransactionId: unknown;
declare const request: unknown;
declare const fetchedPayment: unknown;
declare const uniqueTransactionId: unknown;
declare const request: undefined;
declare const result: unknown;
declare const payments: Array<]
      const paymentIds = [>;
declare const uniqueTransactionId: unknown;
declare const request: unknown;
declare const paymentId: undefined expect(paymentId).toBeDefined();
declare const deletedCount: unknown;
declare const fetchedPayment: unknown;
declare const deletedCount: unknown;
declare const today: unknown;
declare const recentRequest: unknown;
declare const stats: unknown;
declare const today: unknown;
declare const ppPaymentData: {
  order_id: 31;
  user_id: 31;
  amount: 150;
  method: 'paypal';
  status: 'completed';
  transaction_id: `TXN-METHOD-PP-${Date.now()}`;
  created_at: unknown
};
declare const ccRequest: unknown;
declare const methodStats: unknown;
declare const methods: unknown;
declare const today: unknown;
declare const currentMonthPayment: {
  order_id: 40;
  user_id: 40;
  amount: 100;
  method: 'credit_card';
  status: 'completed';
  transaction_id: `TXN-MONTHLY-1-${Date.now()}`;
  created_at: unknown
};
declare const previousMonthPayment: {
  order_id: 41;
  user_id: 41;
  amount: 200;
  method: 'credit_card';
  status: 'completed';
  transaction_id: `TXN-MONTHLY-2-${Date.now()}`;
  created_at: unknown
};
declare const currentRequest: unknown;
declare const monthlyTrends: unknown;
declare const firstMonth: unknown;