@yoroi/banxa
Version:
The Banxa integration package of Yoroi SDK
42 lines (33 loc) • 1.3 kB
Flow
/**
* Flowtype definitions for index
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
declare export {
banxaDomainProduction,
banxaDomainSandbox,
banxaSupportUrl,
} from "./translators/domains";
declare export { banxaModuleMaker } from "./translators/module";
declare export { BanxaErrorMessages } from "./adapters/errors";
import type { BanxaFiatType } from "./helpers/fiat-types";
import type { BanxaCoinType } from "./helpers/coin-types";
import type {
BanxaModule,
BanxaReferralUrlBuilderOptions,
BanxaReferralUrlQueryStringParams,
} from "./translators/module";
import { BanxaUnknownError, BanxaValidationError } from "./adapters/errors";
declare var Banxa: typeof npm$namespace$Banxa;
declare var npm$namespace$Banxa: {|
UnknownError: Class<Banxa$UnknownError>,
ValidationError: Class<Banxa$ValidationError>,
|};
declare type Banxa$CoinType = BanxaCoinType;
declare type Banxa$FiatType = BanxaFiatType;
declare type Banxa$ReferralUrlBuilderOptions = BanxaReferralUrlBuilderOptions;
declare type Banxa$ReferralUrlQueryStringParams =
BanxaReferralUrlQueryStringParams;
declare type Banxa$Module = BanxaModule;
declare type Banxa$UnknownError = { ... } & BanxaUnknownError;
declare type Banxa$ValidationError = { ... } & BanxaValidationError;