import * as restTypes from './types/rest'; export declare type RestClientOptions = { /** * Base url for the API. Defaults to https://sideshift.ai/api/ */ baseUrl: string; /** * SideShift.ai secret. Obtain from visiting https://sideshift.ai/affiliate and clicking SHOW AFFILIATE SECRET. */ secret?: string; }; export declare const createClient: (options: Partial) => { request: (method: string, path: string, fields?: unknown) => Promise; getPair: (depositMethodId: string, settleMethodId: string) => Promise; getFacts: () => Promise; createOrder: (fields: restTypes.CreateOrderInput) => Promise; getAssets: () => Promise<{ [assetId: string]: { id: string; name: string; }; }>; getDepositMethods: () => Promise<{ [depositMethodId: string]: import("./types").DepositMethod; }>; getSettleMethods: () => Promise<{ [settleMethodId: string]: import("./types").SettleMethod; }>; getOrder: (id: string) => Promise; }; export declare type RestClient = ReturnType; //# sourceMappingURL=rest.d.ts.map