import type { Chain, Network } from "@wormhole-foundation/sdk-base"; import type { AttestationId, ChainContext, GatewayTransferDetails, IbcTransferInfo, Signer, TokenId, TransactionId, TxHash, WormholeMessageId } from "@wormhole-foundation/sdk-definitions"; import { TokenBridge } from "@wormhole-foundation/sdk-definitions"; import { TransferState } from "../../types.js"; import { Wormhole } from "../../wormhole.js"; import type { WormholeTransfer } from "../wormholeTransfer.js"; export declare class GatewayTransfer implements WormholeTransfer<"IbcBridge"> { static chain: "Wormchain"; private readonly wh; private readonly gateway; private readonly gatewayIbcBridge; private readonly gatewayAddress; private _state; private msg; transfer: GatewayTransferDetails; transactions: TransactionId[]; vaas?: { id: WormholeMessageId; vaa?: TokenBridge.TransferVAA; }[]; ibcTransfers: IbcTransferInfo[]; private constructor(); getTransferState(): TransferState; static from(wh: Wormhole, from: GatewayTransferDetails): Promise>; static from(wh: Wormhole, from: WormholeMessageId, timeout?: number): Promise>; static from(wh: Wormhole, from: TransactionId, timeout?: number): Promise>; private static _fromMsgId; private static _fromTransaction; private static ibcTransfertoGatewayTransfer; initiateTransfer(signer: Signer): Promise; private _transfer; private _transferIbc; fetchAttestation(timeout?: number): Promise; completeTransfer(signer: Signer): Promise; private fromGateway; private toGateway; } export declare namespace GatewayTransfer { function getTransferVaa(wh: Wormhole, whm: WormholeMessageId, timeout?: number): Promise; function destinationOverrides(srcChain: ChainContext, dstChain: ChainContext, gatewayChain: ChainContext, transfer: GatewayTransferDetails): Promise; function lookupDestinationToken(srcChain: ChainContext, dstChain: ChainContext, gatewayChain: ChainContext, token: TokenId): Promise>; } //# sourceMappingURL=gatewayTransfer.d.ts.map