import { ContextFromHookProviders, FuncFromHookProviders, OperationHookProvider } from './OperationDecorator'; import { TryCatchFinallyHook, TryCatchFinallyContext } from './wrapTryCatchFinallyPromisable'; type OperationTreeContext = TParentContext & { parent?: OperationTreeContext; sharedContext: {}; }; export declare class OperationTree { static getTryCatchFinallyHook(_ctx: OperationTreeContext): TryCatchFinallyHook; static getPriority(): number; static onTry(ctx: OperationTreeContext): void; static onFinally(ctx: OperationTreeContext): () => void; static getCurrentOperationFromTrackedClassInstance(classInstance: TClassInstance): OperationTreeContext; static getCurrentOperationFromContext(ctx: OperationTreeContext): OperationTreeContext; protected static setCurrentOperationToContext(ctx: OperationTreeContext, newCurrentOperation: OperationTreeContext | undefined): void; static getOperationsStack(ctx: TContext): TContext[]; static getDecoratorUtils(): { getCurrentOperation(classInstance: any): OperationTreeContext | undefined; }; } export type CanGetCurrentOperation = { getCurrentOperation(classInstance: ThisParameterType>): ContextFromHookProviders | undefined; }; export {};