/** * Bridge Intent Types & Utilities * * Represents a user's intent to bridge USDC from Base to 0G * Signed with Ed25519, published to H3-DAC, executed by QUIC worker */ export interface BridgeIntent { type: 'bridge-payment'; id: string; amount: string; fromChain: 'base' | 'sepolia'; toChain: '0g'; sender: string; recipient: string; nonce: number; timestamp: number; signature: string; } export interface BridgeIntentResponse { status: 'accepted' | 'rejected' | 'processing' | 'completed'; intentId: string; settledAmount?: string; txHashBase?: string; txHash0G?: string; error?: string; latencyMs?: number; proof?: any; txHash?: string; } /** * Encode bridge intent as CBOR-like object for H3-DAC */ export declare function encodeBridgeIntent(intent: Omit): any; /** * Compute intent hash for signing (simple keccak256 for now, could be Blake3) */ export declare function computeIntentHash(intent: Omit): string; /** * Create a new bridge intent */ export declare function createBridgeIntent(amount: string, fromChain: 'base' | 'sepolia', sender: string, recipient: string, nonce: number): Omit; //# sourceMappingURL=bridge-intent.d.ts.map