import { TranslateSiteRequest as TranslateSiteRequest$1, TranslateSiteResponse as TranslateSiteResponse$1, GetSiteTranslatablesPropertiesRequest as GetSiteTranslatablesPropertiesRequest$1, GetSiteTranslatablesPropertiesResponse as GetSiteTranslatablesPropertiesResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface SiteTranslatableProperties { /** Total number of words that exist in the main_language */ totalWords?: number; /** Number of words that were already translated into the translated_language */ translatedWords?: number; /** Word credits already used for machine translation */ machineTranslationWordsUsed?: number; /** Word credits available for machine translation */ machineTranslateWordsLimit?: number; /** * Word information by app_id * @maxSize 1024 */ applicationProperties?: ApplicationTranslatableProperties[]; } interface ApplicationTranslatableProperties { /** * Unique identifier of application ID * @format GUID */ appId?: string; /** Total number of words that exist in the main_language in a specific application */ applicationTotalWords?: number; /** Number of words that were already translated into the translated_language in a specific application */ applicationTranslatedWords?: number; } interface TranslateSiteRequest { /** Language from which the site content is translated */ mainLanguage: Locale; /** Language into which the site content is translated */ translatedLanguage: Locale; } interface Locale { /** * The IETF BCP 47 formatted identifier of the language * @format LANGUAGE_TAG */ language?: string; /** @maxLength 2 */ flagV2?: string | null; } interface TranslateSiteResponse { } interface GetSiteTranslatablesPropertiesRequest { /** Number of words included in main_language */ mainLanguage: Locale; /** Number of words already translated from main_language to translated_language */ translatedLanguage?: Locale; } interface GetSiteTranslatablesPropertiesResponse { /** Current status of site translation and word credits usage */ data?: SiteTranslatableProperties; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function translateSite(): __PublicMethodMetaInfo<'POST', {}, TranslateSiteRequest$1, TranslateSiteRequest, TranslateSiteResponse$1, TranslateSiteResponse>; declare function getSiteTranslatablesProperties(): __PublicMethodMetaInfo<'POST', {}, GetSiteTranslatablesPropertiesRequest$1, GetSiteTranslatablesPropertiesRequest, GetSiteTranslatablesPropertiesResponse$1, GetSiteTranslatablesPropertiesResponse>; export { type ApplicationTranslatableProperties as ApplicationTranslatablePropertiesOriginal, type GetSiteTranslatablesPropertiesRequest as GetSiteTranslatablesPropertiesRequestOriginal, type GetSiteTranslatablesPropertiesResponse as GetSiteTranslatablesPropertiesResponseOriginal, type Locale as LocaleOriginal, type SiteTranslatableProperties as SiteTranslatablePropertiesOriginal, type TranslateSiteRequest as TranslateSiteRequestOriginal, type TranslateSiteResponse as TranslateSiteResponseOriginal, type __PublicMethodMetaInfo, getSiteTranslatablesProperties, translateSite };