import RpcAsset from './Asset'; import { IOfferRow } from './RpcCache'; import RpcApi from './index'; export default class RpcOffer { private readonly api; readonly id: string; private readonly _data; private readonly _senderAssets; private readonly _recipientAssets; constructor(api: RpcApi, id: string, data?: IOfferRow, senderAssets?: RpcAsset[], receiverAssets?: RpcAsset[], cache?: boolean); sender(): Promise; recipient(): Promise; senderAssets(): Promise>; recipientAssets(): Promise>; memo(): Promise; toObject(): Promise; }