UNPKG

@yoroi/types

Version:
16 lines (14 loc) 406 B
/** * Flowtype definitions for api * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import { AxiosRequestConfig } from "axios"; import { ExchangeProvider } from "./provider"; export interface ExchangeApi { getBaseUrl( providerId: string, fetcherOptions?: AxiosRequestConfig ): Promise<string>; getProviders(): Promise<{ [key: string]: ExchangeProvider, ... }>; }