import { EntityManager, Repository } from 'typeorm'; import RefundEntity from "../entities/refund.js"; /** * Refund repository */ declare class Refund extends Repository { /** * Get is entity refund * @example Cast types avoid from ObjectLiteral or undefined in after update */ /** * Get is entity refund * @example Cast types avoid from ObjectLiteral or undefined in after update */ static getIsEntityRefund(entity?: RefundEntity | TEntity): entity is RefundEntity; /** * Update transactions refund status * @description Will cause transaction update */ /** * Update transactions refund status * @description Will cause transaction update */ static updateTransactionsRefundStatus(transactionId: string, manager: EntityManager, chargeRefundedAmount?: number | null): Promise; } export { Refund as default };