import { constructApproveToken, ApproveTokenFunctions } from './approve'; import { constructGetBalances, GetBalancesFunctions } from './balance'; import { constructGetSpender, GetSpenderFunctions } from './spender'; import { constructGetAdapters, AdaptersFunctions } from './adapters'; import { constructGetRate, GetRateFunctions } from './rates'; import { constructGetTokens, constructToken, GetTokensFunctions, Token, PriceString } from './token'; import { BuildTxFunctions, constructBuildTx } from './transaction'; import { constructEthersContractCaller, constructWeb3ContractCaller, constructAxiosFetcher, constructFetchFetcher, isFetcherError } from './helpers'; import { ConstructBaseInput, ConstructFetchInput, ConstructProviderFetchInput, Address } from './types'; import { UnionToIntersection } from 'ts-essentials'; export * from './constants'; export { constructApproveToken, constructGetBalances, // getAllowances is inside constructGetSpender, // this was getTokenTransferProxy constructGetTokens, constructBuildTx, constructEthersContractCaller, constructWeb3ContractCaller, constructAxiosFetcher, constructFetchFetcher, constructToken, constructGetAdapters, constructGetRate, isFetcherError, }; export type { ApproveTokenFunctions, GetBalancesFunctions, GetSpenderFunctions, GetTokensFunctions, BuildTxFunctions, ConstructFetchInput, ConstructProviderFetchInput, AdaptersFunctions as ConstructAdaptersFunctions, Token, Address, PriceString, }; export declare type SDKConfig = ConstructProviderFetchInput & ConstructFetchInput; export declare type AllSDKMethods = GetBalancesFunctions & GetTokensFunctions & GetSpenderFunctions & ApproveTokenFunctions & BuildTxFunctions & AdaptersFunctions & GetRateFunctions; declare type AnyFunction = (...args: any[]) => any; declare type SDKFunction = (config: T) => Record; declare type IntersectionOfReturns = UnionToIntersection>; export declare const constructPartialSDK: , ...SDKFunction[]]>(config: T, ...funcs: Funcs) => UnionToIntersection>; export declare const constructSDK: (config: SDKConfig) => AllSDKMethods; export { ParaSwap } from './legacy'; //# sourceMappingURL=index.d.ts.map