import { TryCatchFinallyContext, TryCatchFinallyHook } from './wrapTryCatchFinallyPromisable'; export type OperationDurationContext = TContext & { start?: number; duration?: number; }; export declare class OperationDuration { static getTryCatchFinallyHook(_ctx: OperationDurationContext): TryCatchFinallyHook; static getPriority(): number; static onTry(ctx: OperationDurationContext): void; static onFinally(ctx: OperationDurationContext): void; static getDuration(ctx: TContext): number | undefined; }