import { type TransactionReceipt } from "ethers"; /** * Derives the Starknet L1-handler transaction hash from an Ethereum deposit receipt. * * The derivation mirrors the algorithm used by StarkGate's live-transfers package: * it parses the `LogMessageToL2` event emitted by the Starknet Core Contract and * re-computes the L2 transaction hash using the same Pedersen-hash formula applied * by the Starknet sequencer. * * @param receipt - Mined Ethereum transaction receipt of the deposit. * @param snChainIdFelt252 - The Starknet chain ID as a felt252 hex string * (e.g. `constants.StarknetChainId.SN_MAIN`). Use `ChainId.toFelt252()`. * @returns The predicted Starknet transaction hash, or `null` if the receipt * does not contain a `LogMessageToL2` event. */ export declare function deriveStarknetDepositTxHash(receipt: TransactionReceipt, snChainIdFelt252: string): string | null; //# sourceMappingURL=utils.d.ts.map