@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
78 lines • 2.23 kB
TypeScript
import getCompleteSwapHistory from "./getCompleteSwapHistory";
import initSwap from "./initSwap";
import { postSwapAccepted, postSwapCancelled } from "./postSwapState";
import getExchangeRates from "./getExchangeRates";
import { maybeTezosAccountUnrevealedAccount } from "./maybeTezosAccountUnrevealedAccount";
import { maybeTronEmptyAccount } from "./maybeTronEmptyAccount";
import { maybeKeepTronAccountAlive } from "./maybeKeepTronAccountAlive";
import { getIncompatibleCurrencyKeys } from "./getIncompatibleCurrencyKeys";
export { getAvailableProviders } from "../providers";
export declare const operationStatusList: {
finishedOK: string[];
finishedKO: string[];
};
export declare const isSwapOperationPending: (status: string) => boolean;
declare const getSwapAPIBaseURL: () => string;
declare const getSwapUserIP: () => {
"X-Forwarded-For": string;
} | undefined;
declare const getSwapAPIVersion: () => number;
declare const USStates: {
AL: string;
AK: string;
AZ: string;
AR: string;
CA: string;
CO: string;
CT: string;
DE: string;
DC: string;
FL: string;
GA: string;
HI: string;
ID: string;
IL: string;
IN: string;
IA: string;
KS: string;
KY: string;
LA: string;
ME: string;
MD: string;
MA: string;
MI: string;
MN: string;
MS: string;
MO: string;
MT: string;
NE: string;
NV: string;
NH: string;
NJ: string;
NM: string;
NY: string;
NC: string;
ND: string;
OH: string;
OK: string;
OR: string;
PA: string;
RI: string;
SC: string;
SD: string;
TN: string;
TX: string;
UT: string;
VT: string;
VA: string;
WA: string;
WV: string;
WI: string;
WY: string;
};
declare const countries: {
US: string;
};
export declare const getSwapAPIError: (errorCode: number, errorMessage?: string) => any;
export { getSwapAPIBaseURL, getSwapUserIP, getSwapAPIVersion, getCompleteSwapHistory, postSwapAccepted, getExchangeRates, maybeTezosAccountUnrevealedAccount, maybeTronEmptyAccount, maybeKeepTronAccountAlive, postSwapCancelled, initSwap, USStates, countries, getIncompatibleCurrencyKeys, };
//# sourceMappingURL=index.d.ts.map