import { TryCatchFinallyContext, TryCatchFinallyHook } from './wrapTryCatchFinallyPromisable'; export type OperationFinallyHooksContext = TContext & { onFinally: (() => void)[]; decoratorArgs?: { onTry?: (ctx: TContext) => void; onFinally?: (ctx: TContext) => void; }; }; export declare class OperationFinallyHooks { static getTryCatchFinallyHook(_ctx: OperationFinallyHooksContext): TryCatchFinallyHook; static getPriority(): number; static onTry(ctx: OperationFinallyHooksContext): void; static onFinally(ctx: OperationFinallyHooksContext): void; }