import type { RpcProvider } from "starknet"; import type { Provider, TransactionReceipt } from "ethers"; import { BridgeTransferStatus } from "../../bridge/monitor/types.js"; import { type StarkZapLogger } from "../../logger/index.js"; /** * Checks the current status of a Starknet transaction. * * Returns one of: * - `NOT_SUBMITTED_ON_STARKNET` – hash not found or response error. * - `ERROR` – transaction was reverted. * - `SUBMITTED_ON_STARKNET` – transaction received but not yet accepted on L2. * - `CONFIRMED_ON_STARKNET` – accepted on L2 (soft finality). * - `COMPLETED_ON_STARKNET` – accepted on L1 (highest finality). */ export declare function checkStarknetTxStatus(txHash: string, provider: RpcProvider, logger?: StarkZapLogger): Promise; /** * Fetches an Ethereum transaction receipt and returns the corresponding status. * * Returns: * - `NOT_SUBMITTED_ON_L1` – tx not found anywhere. * - `SUBMITTED_ON_L1` – tx in mempool but not yet mined. * - `ERROR` – mined with failure status. * - `CONFIRMED_ON_L1` – mined successfully. */ export declare function getEthereumTxStatus(txHash: string, provider: Provider): Promise<{ status: BridgeTransferStatus; receipt: TransactionReceipt | null; }>; //# sourceMappingURL=utils.d.ts.map