import type { TypedDataField } from '@ethersproject/abstract-signer'; import { Contract } from '@ethersproject/contracts'; import { ChainId, OnChainTrade, Trade, TradeAsset, TradeAssetType, TradeCreation } from '@dcl/schemas'; export declare const OFFCHAIN_MARKETPLACE_TYPES: Record; export declare function getOffChainMarketplaceContract(chainId: ChainId): Promise; export declare function getValueForTradeAsset(asset: TradeAsset): string; export declare function generateTradeValues(trade: Omit): { checks: { uses: number; expiration: number; effective: number; salt: string; contractSignatureIndex: number; signerSignatureIndex: number; allowedRoot: string; externalChecks: { contractAddress: string; selector: string; value: string; required: boolean; }[]; }; sent: { assetType: TradeAssetType; contractAddress: string; value: string; extra: string; }[]; received: { assetType: TradeAssetType; contractAddress: string; value: string; extra: string; beneficiary: string; }[]; }; export declare function getOnChainTrade(trade: Trade, sentBeneficiaryAddress: string): OnChainTrade; export declare function getTradeSignature(trade: Omit): Promise;