import { type LeafHasher } from '../hasher/common.ts'; import { type CCIPMessage, type CCIPMessage_V1_6, CCIPVersion } from '../types.ts'; /** * Creates a leaf hasher for Aptos CCIP messages. * @param lane - Lane configuration with selectors and onRamp. * @returns Leaf hasher function for the specified version. */ export declare function getAptosLeafHasher({ sourceChainSelector, destChainSelector, onRamp, version, }: { sourceChainSelector: bigint; destChainSelector: bigint; onRamp: string; version: V; }): LeafHasher; /** * Computes the leaf hash for a v1.6 Aptos CCIP message. * @param message - CCIP message to hash. * @param metadataHash - Pre-computed metadata hash for the lane. * @returns Keccak256 hash of the message. */ export declare function hashV16AptosMessage(message: CCIPMessage_V1_6 | CCIPMessage, metadataHash: string): string; /** * Computes the metadata hash for Aptos CCIP lane. * @param sourceChainSelector - Source chain selector. * @param destChainSelector - Destination chain selector. * @param onRamp - OnRamp address. * @returns Keccak256 hash of the lane metadata. */ export declare const hashAptosMetadata: (sourceChainSelector: bigint, destChainSelector: bigint, onRamp: string) => string; //# sourceMappingURL=hasher.d.ts.map