import { Interaction } from '@1inch/fusion-sdk'; import { EscrowFactory } from './escrow-factory.js'; import { EvmAddress as Address } from '../../domains/addresses/index.js'; import { DstImmutablesComplement, Immutables } from '../../domains/immutables/index.js'; import { MerkleLeaf } from '../../domains/hash-lock/index.js'; import { NetworkEnum } from '../../chains.js'; export declare class EscrowFactoryFacade implements EscrowFactory { private factory; constructor(chainId: NetworkEnum, factoryAddress: Address); get address(): Address; static getFactory(_chainId: NetworkEnum, // just keeping backward compatibility factoryAddress: Address): EscrowFactory; getEscrowAddress( /** * @see Immutables.hash */ immutablesHash: string, /** * Address of escrow implementation at the same chain as `this.address` */ implementationAddress: Address): Address; getSrcEscrowAddress( /** * From `SrcEscrowCreated` event (with correct timeLock.deployedAt) */ srcImmutables: Immutables
, /** * Address of escrow implementation at the same chain as `this.address` */ implementationAddress: Address): Address; getDstEscrowAddress( /** * From `SrcEscrowCreated` event */ srcImmutables: Immutables
, /** * From `SrcEscrowCreated` event */ complement: DstImmutablesComplement
, /** * Block time when event `DstEscrowCreated` produced */ blockTime: bigint, /** * Taker from `DstEscrowCreated` event */ taker: Address, /** * Address of escrow implementation at the same chain as `this.address` */ implementationAddress: Address): Address; getMultipleFillInteraction(proof: MerkleLeaf[], idx: number, secretHash: string): Interaction; }