import { type Logger } from 'pino'; import { type IToken, type ChainName, type NormalizedScale, type ScaleAlignment, type Token } from '@hyperlane-xyz/sdk'; import { type MonitorEvent } from '../interfaces/IMonitor.js'; import { type RawBalances } from '../interfaces/IStrategy.js'; export declare function getTokenScale(token: Token): NormalizedScale; export declare function isIdentityScale(token: Token): boolean; export declare function normalizeToCanonical(localAmount: bigint, tokenOrScale: Token | IToken | NormalizedScale): bigint; export declare function denormalizeToLocal(canonicalAmount: bigint, tokenOrScale: Token | IToken | NormalizedScale): bigint; export declare function alignLocalToCanonical(localAmount: bigint, tokenOrScale: Token | IToken | NormalizedScale): ScaleAlignment; export declare function normalizeConfiguredAmount(amount: string | number, token: Token): bigint; /** * Returns the raw balances required by the strategies from the monitor event * @param chains - The chains that should be included in the raw balances (e.g. the chains in the rebalancer config) * @param event - The monitor event to extract the raw balances from * @returns An object mapping chain names to their raw balances. */ export declare function getRawBalances(chains: ChainName[], event: MonitorEvent, logger: Logger): RawBalances; //# sourceMappingURL=balanceUtils.d.ts.map