import { IConfigs, ICreateAcceptance, IFulfillOffer, IGetCollectionsMaxLtvs, IGetCollectionTopBid, IOffer, IPlan, IPricerStep1, IPricerStep2 } from './types'; export declare class CyanAPI { private fetchData; constructor(apiKey: string, host: string); getConfigs(): Promise; /** * Retrieve the maximum LTVs for the given plan type and chain across all supported collections */ getMaxLtvs(args: IGetCollectionsMaxLtvs['params']): Promise; /** * Creates acceptance signature */ createAcceptance(args: ICreateAcceptance): Promise; /** * Calls BNPL pricer step 1 */ priceBnplsStep1(body: IPricerStep1['request']): Promise; /** * Calls BNPL pricer step 2 */ priceBnplsStep2(body: IPricerStep2['request']): Promise; /** * Calls Pawn pricer step 1 */ pricePawnsStep1(body: IPricerStep1['request']): Promise; /** * Calls Pawn pricer step 2 */ pricePawnsStep2(body: IPricerStep2['request']): Promise; private _pricerStep1; private _pricerStep2; /** * Retrieve BNPL or Pawn plans, by user, which are Activated, Funded or in Pending status. * @param address User wallet address * @returns Array of IPlan */ getUserPlans(address: string): Promise; getCollectionTopBids(body: IGetCollectionTopBid['request']): Promise; getFulfillOffer(body: IFulfillOffer['request']): Promise; }