@yoroi/exchange
Version:
The Exchange package of Yoroi SDK
32 lines (30 loc) • 660 B
Flow
/**
* Flowtype definitions for api
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { Exchange } from "@yoroi/types";
import { encryptusApiGetBaseUrl } from "./encryptus/api";
import { banxaApiGetBaseUrl } from "./banxa/api";
declare export var exchangeApiMaker: (
x: {
isProduction: boolean,
partner: string,
...
},
x?: {
banxaApi: {
getBaseUrl: typeof banxaApiGetBaseUrl,
...
},
encryptusApi: {
getBaseUrl: typeof encryptusApiGetBaseUrl,
...
},
...
}
) => Exchange.Api;
declare export var providers: $ReadOnly<{
[key: string]: Exchange.Provider,
...
}>;