import type { DecoratorContext, DecoratorTraceDataResp } from '@mwcp/otel';
import type { TransactionHookOptions } from 'kmore';
import type { KmoreAttrNames } from '../types.js';
export interface ProcessTrxCommitAndRollbackData {
    eventName: KmoreAttrNames;
    hook: string;
    stage: 'before' | 'after';
    op: 'commit' | 'rollback';
}
export declare function processTrxCommitAndRollback(options: TransactionHookOptions, decoratorContext: DecoratorContext, data: ProcessTrxCommitAndRollbackData): DecoratorTraceDataResp;
//# sourceMappingURL=db-hook.trx.helper.d.ts.map