import type { LeafHasher } from '../hasher/common.ts'; import { CCIPVersion } from '../types.ts'; /** * Creates a leaf hasher for TON messages. * * @param lane - Lane configuration containing sourceChainSelector, destChainSelector, * onRamp (as hex string), and version (only v1.6 supported for TON). * @returns A LeafHasher function that computes message hashes for TON. */ export declare function getTONLeafHasher({ sourceChainSelector, destChainSelector, onRamp, version, }: { sourceChainSelector: bigint; destChainSelector: bigint; onRamp: string; version: V; }): LeafHasher; /** * Creates a hash that uniquely identifies the message lane configuration * (source chain, destination chain, and onRamp address). * Following the TON implementation from chainlink-ton repo. * * @param sourceChainSelector - Source chain selector. * @param destChainSelector - Destination chain selector. * @param onRamp - OnRamp address as hex string. * @returns SHA256 hash of the metadata as hex string. */ export declare const hashTONMetadata: (sourceChainSelector: bigint, destChainSelector: bigint, onRamp: string) => string; //# sourceMappingURL=hasher.d.ts.map