import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { GetCreditDataResponse, CheckSufficientCreditsResponse, CheckSufficientCreditsApplicationErrors } from './index.typings.js'; export { Asset, CheckSufficientCreditsRequest, CreditData, CreditDataTypeOneOf, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, EditorlessAssigned, EditorlessUnassigned, Empty, GetCreditDataRequest, LimitedQuota, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, Quota, QuotaWithLiterals, ReportCreditUsageRequest, ReportCreditUsageResponse, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, UpdateCreditRequest, UpdateCreditResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, WixelAssigned, WixelUnassigned } from './index.typings.js'; declare function getCreditData$1(httpClient: HttpClient): GetCreditDataSignature; interface GetCreditDataSignature { /** * Retrieves a site's word credit data. * * For sites with a limited quota, you can calculate the available word credits by subtracting the credits used from the quota. * For example, if a site has a quota of 100 credits and all credits have been used (`"creditsUsed": 100`), the available word credits will be 0. * If a Wix user purchases an additional 50 credits, the `quota` will increase to `150`, and the site will have 50 available word credits. */ (): Promise>; } declare function checkSufficientCredits$1(httpClient: HttpClient): CheckSufficientCreditsSignature; interface CheckSufficientCreditsSignature { /** * Checks whether a site has enough credits to translate the specified number of words. * @param - Number of words to translate. */ (wordCount: number): Promise & { __applicationErrorsType?: CheckSufficientCreditsApplicationErrors; }>; } declare const getCreditData: MaybeContext & typeof getCreditData$1>; declare const checkSufficientCredits: MaybeContext & typeof checkSufficientCredits$1>; export { CheckSufficientCreditsApplicationErrors, CheckSufficientCreditsResponse, GetCreditDataResponse, checkSufficientCredits, getCreditData };