import { RawAxiosRequestConfig } from "axios"; import { Wallet, WalletBillingPortalLinkResponse, WalletCreateForm, WalletPaymentIntentRequest } from "./types"; import { WindowHapiAPI, WindowHapiAPIModule } from "../_window/api.types"; import { WindowHapiModuleWithConstructorArgs } from "../_window"; export type WindowHapiAPIWalletConfigs = { getWallet: RawAxiosRequestConfig; createWallet: RawAxiosRequestConfig; getBillingPortalLink: RawAxiosRequestConfig; createPaymentIntent: RawAxiosRequestConfig; }; export type WindowHapiAPIWalletRequests = { getWallet: () => Promise; createWallet: (wallet: WalletCreateForm) => Promise; getBillingPortalLink: (returnUrl: string) => Promise; createPaymentIntent: (paymentParams: WalletPaymentIntentRequest) => Promise; }; export type WindowHapiAPIWallet = WindowHapiModuleWithConstructorArgs, { readonly api: WindowHapiAPI; }>; //# sourceMappingURL=api.types.d.ts.map