import { ContextFromDecorator } from './operationTracking'; export declare const track: ((decoratorArgs?: ({ onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext any>>) => void) | undefined; } & { onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined; onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined; } & import("./operationTracking").OperationLoggerDecoratorArgs & { wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters) | undefined; } & { shouldStats?: (args: import("./operationTracking").OperationStatsEventArgs) => boolean | void; }) | undefined) => import("./operationTracking").GenericMethodDecorator<(this: any, ...args: any[]) => any>) & { getCurrentOperation(classInstance: any): (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & { parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined; sharedContext: {}; }) | undefined; } & { _contextType: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & { start?: number; duration?: number; } & { decoratorArgs?: { onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext any>>) => void) | undefined; } | undefined; } & { parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined; sharedContext: {}; } & { onFinally: (() => void)[]; decoratorArgs?: { onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined; onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined; } | undefined; } & { logs: string[]; logMetadata?: Record; decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs; sharedContext: import("./operationTracking").OperationLoggerSharedContext; } & { decoratorArgs?: { wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters) | undefined; } | undefined; } & { tags: string[]; sharedContext: { tags: string[]; }; decoratorArgs?: { shouldStats?: (args: import("./operationTracking").OperationStatsEventArgs) => boolean | void; }; }; }; export type OperationContext = ContextFromDecorator;