import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { WixPaymentsAccount, ConnectWixPaymentsAccountResponse, ConnectWixPaymentsAccountBase44Options, ConnectWixPaymentsAccountBase44Response, ConnectWixPaymentsAccountBase44ApplicationErrors, SetupBase44SiteOptions, SetupBase44SiteResponse } from './index.typings.js'; export { Base44AppData, Base44Metadata, ConnectWixPaymentsAccountBase44Request, ConnectWixPaymentsAccountRequest, SetupBase44SiteRequest, TermsOfServiceAcceptance } from './index.typings.js'; declare function connectWixPaymentsAccount$1(httpClient: HttpClient): ConnectWixPaymentsAccountSignature; interface ConnectWixPaymentsAccountSignature { /** * Connects a Wix Payments account to the site. * * * The call fails if: * - The site's location * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)) * is outside the USA. * - A Wix Payments account is already connected to the site. * - You don't specify `{"tosAccepted": true}`. * * The connected Wix Payments account has the following limitations, which site * owners can manage in their dashboard: * * - By default, customers can only pay via credit card, Apple Pay, or Google Pay. * - To receive payments, site owners must complete onboarding to their Wix * Payments account in the site's dashboard. * @param - Wix Payments account to connect to the site. */ (account: NonNullablePaths): Promise>; } declare function connectWixPaymentsAccountBase44$1(httpClient: HttpClient): ConnectWixPaymentsAccountBase44Signature; interface ConnectWixPaymentsAccountBase44Signature { /** * Connects a Wix Payments account to the site. * * * The call fails if: * - The site's location * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)) * is outside the USA. * - A Wix Payments account is already connected to the site. * - You don't specify `{"tosAccepted": true}`. * * The connected Wix Payments account has the following limitations, which site * owners can manage in their dashboard: * * - By default, customers can only pay via credit card, Apple Pay, or Google Pay. * - To receive payments, site owners must complete onboarding to their Wix * Payments account in the site's dashboard. * @param - Wix Payments account to connect to the site. */ (account: NonNullablePaths, options?: ConnectWixPaymentsAccountBase44Options): Promise & { __applicationErrorsType?: ConnectWixPaymentsAccountBase44ApplicationErrors; }>; } declare function setupBase44Site$1(httpClient: HttpClient): SetupBase44SiteSignature; interface SetupBase44SiteSignature { /** * Sets up a Base44 site with an API key, without connecting a Wix Payments account. * * This endpoint: * - Creates or publishes the metasite * - Installs required apps * - Adds the "accept_payments" premium feature * - Creates an API key for the site * - Persists the Base44 app record * * Use `ConnectWixPaymentsAccountBase44` to also connect a Wix Payments account. */ (options?: SetupBase44SiteOptions): Promise>; } declare const connectWixPaymentsAccount: MaybeContext & typeof connectWixPaymentsAccount$1>; declare const connectWixPaymentsAccountBase44: MaybeContext & typeof connectWixPaymentsAccountBase44$1>; declare const setupBase44Site: MaybeContext & typeof setupBase44Site$1>; export { ConnectWixPaymentsAccountBase44ApplicationErrors, ConnectWixPaymentsAccountBase44Options, ConnectWixPaymentsAccountBase44Response, ConnectWixPaymentsAccountResponse, SetupBase44SiteOptions, SetupBase44SiteResponse, WixPaymentsAccount, connectWixPaymentsAccount, connectWixPaymentsAccountBase44, setupBase44Site };