import { StatsClient } from '@segment/actions-core/destination-kit'; import { StatsArgs, OperationStats, OperationStatsContext, TryCatchFinallyHook, TrackedError, StatsTags } from './operationTracking'; import { EngageActionPerformer } from './EngageActionPerformer'; export declare class EngageStats extends OperationStats { actionPerformer: EngageActionPerformer; static getTryCatchFinallyHook(_ctx: OperationStatsContext): TryCatchFinallyHook; constructor(actionPerformer: EngageActionPerformer); onTry(ctx: OperationStatsContext): () => void; get statsClient(): StatsClient | undefined; get tags(): string[]; _tags: string[]; stats(statsArgs: StatsArgs): void; incr(metric: string, value?: number, tags?: StatsTags): void; histogram(metric: string, value?: number, tags?: StatsTags): void; set(metric: string, value?: number, tags?: StatsTags): void; extractTagsFromError(error: TrackedError, ctx: OperationStatsContext): string[]; getOperationNameTag(ctx: OperationStatsContext): string | undefined; }