/** * ERC-7752 0G Bridge — Zero-Gas Cross-Chain Bridge Intent Standard */ import { ethers } from 'ethers'; export interface BridgeIntent { submitter: string; destChain: bigint; token: string; grossAmount: bigint; netAmount: bigint; proofHash: string; status: number; expiresAt: number; } export interface BridgeSubmitOptions { destChain: number; token: string; grossAmount: bigint; ttlSeconds?: number; } export declare class BridgeClient { private contract; constructor(address: string, signerOrProvider: ethers.Signer | ethers.Provider); /** * Submit a bridge intent. * 1% fee is deducted on source chain; 99% is transferred on destination chain. */ submit(opts: BridgeSubmitOptions): Promise; /** Fulfill an intent (called by authorized relayer) */ fulfill(intentId: string, proofHash: string): Promise; /** Cancel expired intent and recover funds */ cancel(intentId: string): Promise; getIntent(intentId: string): Promise; } //# sourceMappingURL=ERC7752BridgeClient.d.ts.map