import { BN } from "@coral-xyz/anchor";
import { RelayerRefundLeaf, RelayerRefundLeafSolana, SlowFillLeaf } from "../types.svm";
/**
 * Calculates the relay hash from relay data and chain ID.
 */
export declare function calculateRelayHashUint8Array(relayData: any, chainId: BN): Uint8Array;
/**
 * Calculates the relay event hash from relay event data and chain ID.
 */
export declare function calculateRelayEventHashUint8Array(relayEventData: any, chainId: BN): Uint8Array;
/**
 * Reads a 256-bit unsigned integer from a buffer.
 */
export declare const readUInt256BE: (buffer: Buffer) => bigint;
/**
 * Hashes a non-empty message using Keccak256.
 */
export declare function hashNonEmptyMessage(message: Buffer): Uint8Array<ArrayBuffer>;
/**
 * Calculates the relayer refund leaf hash for Solana.
 */
export declare function calculateRelayerRefundLeafHashUint8Array(relayData: RelayerRefundLeafSolana): string;
/**
 * Hash function for relayer refund leaves.
 */
export declare const relayerRefundHashFn: (input: RelayerRefundLeaf | RelayerRefundLeafSolana) => string;
/**
 * Hash function for slow fill leaves.
 */
export declare function slowFillHashFn(slowFillLeaf: SlowFillLeaf): string;
//# sourceMappingURL=relayHashUtils.d.ts.map