import "./type_extensions"; import { PublicKey } from "@solana/web3.js"; import * as types from "."; import { SolanaContext, SolanaPIDS } from "./context"; import { RetryOptions } from "./utilities"; import { TransferPayloadWithData } from "./wh_helpers"; import BN from "bn.js"; export declare function tryFetchEscrowState(ctx: SolanaContext, foreignProxyContract: types.ForeignAddr, header: types.Header, retryOptions?: RetryOptions): Promise; export declare function fetchEscrowState(ctx: SolanaContext, transfer: TransferPayloadWithData, header: types.Header, retryOptions?: RetryOptions): Promise; export declare function getEscrowState(pids: SolanaPIDS, foreignSender: types.ForeignAddr, foreignProxyContract: types.ForeignAddr, id: BN): [PublicKey, number];