import { type Logger } from 'pino'; import { Counter, Registry } from 'prom-client'; import { type NativeWalletBalance, type WarpRouteBalance, type XERC20Limit } from '@hyperlane-xyz/metrics'; import { type ChainName, type Token, type WarpCore } from '@hyperlane-xyz/sdk'; import { type Address } from '@hyperlane-xyz/utils'; export declare const metricsRegister: Registry; export declare const rebalancerExecutionTotal: Counter<"warp_route_id" | "succeeded">; export declare const rebalancerExecutionAmount: Counter<"destination" | "token" | "origin" | "warp_route_id">; export declare const rebalancerPollingErrorsTotal: Counter<"warp_route_id">; export declare const rebalancerIntentsCreatedTotal: Counter<"strategy" | "destination" | "origin" | "warp_route_id">; export declare const rebalancerActionsCreatedTotal: Counter<"destination" | "origin" | "warp_route_id" | "succeeded">; /** * Updates token balance metrics for a warp route token. */ export declare function updateTokenBalanceMetrics(warpCore: WarpCore, token: Token, balanceInfo: WarpRouteBalance, warpRouteId: string, logger: Logger): void; /** * Updates managed lockbox balance metrics. */ export declare function updateManagedLockboxBalanceMetrics(warpCore: WarpCore, chainName: ChainName, tokenName: string, tokenAddress: string, lockBoxAddress: string, balanceInfo: WarpRouteBalance, warpRouteId: string, logger: Logger): void; /** * Updates native wallet balance metrics. */ export declare function updateNativeWalletBalanceMetrics(balance: NativeWalletBalance, logger: Logger): void; /** * Updates xERC20 limits metrics. */ export declare function updateXERC20LimitsMetrics(token: Token, limits: XERC20Limit, bridgeAddress: Address, bridgeLabel: string, xERC20Address: Address, logger: Logger): void; //# sourceMappingURL=metrics.d.ts.map