import { IAccount, ICustomerView, ITransaction } from '../models'; export interface ITransactionRepository { create(account: IAccount, transaction: ITransaction, tenantId: string | null): Promise; find(reference: string, statuses: Array<'created' | 'processed' | 'completed' | 'failed'>, tenantId: string | null): Promise; findAll(account: IAccount, tenantId: string | null): Promise>; findAllCustomers(accountReference: string, tenantId: string | null): Promise>; update(account: IAccount, transaction: ITransaction, tenantId: string | null): Promise; }