import { EntitySubscriberInterface, UpdateEvent, InsertEvent } from 'typeorm';
import TransactionEntity from "../entities/transaction.js";
/**
 * Transaction subscriber
 */
declare class Transaction implements EntitySubscriberInterface<TransactionEntity> {
    /**
     * This subscriber only for Transaction entity
     */
    /**
     * This subscriber only for Transaction entity
     */
    listenTo(): typeof TransactionEntity;
    /**
     * Handle Transaction event: after insert
     */
    /**
     * Handle Transaction event: after insert
     */
    afterInsert({ entity }: InsertEvent<TransactionEntity>): Promise<void>;
    /**
     * Handle Transaction event: after update
     */
    /**
     * Handle Transaction event: after update
     */
    afterUpdate({ entity, databaseEntity, manager, updatedColumns, }: UpdateEvent<TransactionEntity>): Promise<void>;
}
export { Transaction as default };
