import { ForkName } from "@lodestar/params"; import { MetricsRegister } from "@lodestar/utils"; import { BlockProcessStep, ProcessOperationsStep, ProposerRewardType } from "./block/types.js"; import { EpochTransitionStep } from "./epoch/index.js"; import { StateCloneSource } from "./stateTransition.js"; import { CachedBeaconStateAllForks } from "./types.js"; export type BeaconStateTransitionMetrics = ReturnType; /** * A collection of metrics used throughout the State Transition. */ export declare function getMetrics(register: MetricsRegister): { epochTransitionTime: import("@lodestar/utils").Histogram; epochTransitionCommitTime: import("@lodestar/utils").Histogram; epochTransitionStepTime: import("@lodestar/utils").Histogram<{ step: EpochTransitionStep; }>; forkUpgradeTime: import("@lodestar/utils").Histogram<{ fork: ForkName; }>; onboardBuildersTime: import("@lodestar/utils").Histogram; onboardBuildersDeposits: import("@lodestar/utils").Gauge<{ outcome: "onboarded" | "topup" | "kept" | "dropped"; }>; onboardBuildersSignatureChecks: import("@lodestar/utils").Gauge<{ source: "cache" | "verified"; }>; processBlockTime: import("@lodestar/utils").Histogram; processBlockStepTime: import("@lodestar/utils").Histogram<{ step: BlockProcessStep; }>; processOperationsStepTime: import("@lodestar/utils").Histogram<{ step: ProcessOperationsStep; }>; processBlockCommitTime: import("@lodestar/utils").Histogram; numEffectiveBalanceUpdates: import("@lodestar/utils").Gauge; validatorsInActivationQueue: import("@lodestar/utils").Gauge; validatorsInExitQueue: import("@lodestar/utils").Gauge; preStateBalancesNodesPopulatedMiss: import("@lodestar/utils").Gauge<{ source: StateCloneSource; }>; preStateBalancesNodesPopulatedHit: import("@lodestar/utils").Gauge<{ source: StateCloneSource; }>; preStateValidatorsNodesPopulatedMiss: import("@lodestar/utils").Gauge<{ source: StateCloneSource; }>; preStateValidatorsNodesPopulatedHit: import("@lodestar/utils").Gauge<{ source: StateCloneSource; }>; preStateClonedCount: import("@lodestar/utils").Histogram; postStateBalancesNodesPopulatedHit: import("@lodestar/utils").Gauge; postStateBalancesNodesPopulatedMiss: import("@lodestar/utils").Gauge; postStateValidatorsNodesPopulatedHit: import("@lodestar/utils").Gauge; postStateValidatorsNodesPopulatedMiss: import("@lodestar/utils").Gauge; newSeenAttestersPerBlock: import("@lodestar/utils").Gauge; newSeenAttestersEffectiveBalancePerBlock: import("@lodestar/utils").Gauge; attestationsPerBlock: import("@lodestar/utils").Gauge; progressiveBalancesMismatches: import("@lodestar/utils").Counter<{ target: "current" | "previous"; }>; proposerRewards: import("@lodestar/utils").Gauge<{ type: ProposerRewardType; }>; }; export declare function onStateCloneMetrics(state: CachedBeaconStateAllForks, metrics: BeaconStateTransitionMetrics, source: StateCloneSource): void; export declare function onPostStateMetrics(postState: CachedBeaconStateAllForks, metrics: BeaconStateTransitionMetrics): void; //# sourceMappingURL=metrics.d.ts.map