import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { PublishSiteApplicationErrors, DeployStandalonePagesApplicationErrors, DuplicateSiteOptions, DuplicateSiteResponse, BulkDeleteSiteResponse } from './index.typings.js'; export { ApplicationError, BulkActionMetadata, BulkDeleteSiteRequest, BulkSiteResult, CreateAndAttachChildRequest, CreateAndAttachChildResponse, DeleteSiteFromTrashRequest, DeleteSiteFromTrashResponse, DeployStandalonePagesRequest, DeployStandalonePagesResponse, DuplicateSiteRequest, EmptyEntity, ItemMetadata, MoveSiteToTrashRequest, MoveSiteToTrashResponse, PublishSiteRequest, PublishSiteResponse, RenameSiteRequest, RenameSiteResponse, RestoreSiteFromTrashRequest, RestoreSiteFromTrashResponse, UnpublishSiteRequest, UnpublishSiteResponse, ValidateSiteNameRequest, ValidateSiteNameResponse } from './index.typings.js'; declare function publishSite$1(httpClient: HttpClient): PublishSiteSignature; interface PublishSiteSignature { /** * Publishes a site. * * Publishing a site makes any changes previously saved on the site available on the internet. * After publishing, changes to your site appear in the [site's history](https://support.wix.com/en/article/viewing-and-managing-your-site-history). * * When using an API key for authentication, include a `wix-site-id` header with the ID of the site you want to publish. */ (): Promise; } declare function deployStandalonePages$1(httpClient: HttpClient): DeployStandalonePagesSignature; interface DeployStandalonePagesSignature { /** * Publishes a headless site. * * Publishing only the headless pages of the site. * * When using an API key for authentication, include a `wix-site-id` header with the ID of the site you want to publish. */ (): Promise; } declare function duplicateSite$1(httpClient: HttpClient): DuplicateSiteSignature; interface DuplicateSiteSignature { /** * Duplicates a site with a new site name. * * > **Note:** When you duplicate a site, some business-related content such as store orders, contacts, invoices, and 3rd-party app settings are not be included. * > The duplicated site won’t have a domain or any Premium capabilities. * * Any installed apps that can be used only on sites with a Premium Plan, will be copied to the duplicated site and * will appear unactivated. Once the site is upgraded, the app will be available for use. * * > **Important:** This call requires an account level API key. * @param - ID of the site to duplicated. */ (sourceSiteId: string, options: NonNullablePaths): Promise>; } declare function bulkDeleteSite$1(httpClient: HttpClient): BulkDeleteSiteSignature; interface BulkDeleteSiteSignature { /** * This endpoint enables you to delete multiple sites. * * This is not a permanent delete. Sites are moved to the trash bin and can be restored through site collaborators. * * Learn more about [deleting multiple sites](https://support.wix.com/en/article/moving-a-site-to-trash). * * > **Important:** This call requires an account level API key. * @param - Site IDs. * * Min: 1 site ID
* Max: 20 site IDs */ (ids: string[]): Promise>; } declare const publishSite: MaybeContext & typeof publishSite$1>; declare const deployStandalonePages: MaybeContext & typeof deployStandalonePages$1>; declare const duplicateSite: MaybeContext & typeof duplicateSite$1>; declare const bulkDeleteSite: MaybeContext & typeof bulkDeleteSite$1>; export { BulkDeleteSiteResponse, DeployStandalonePagesApplicationErrors, DuplicateSiteOptions, DuplicateSiteResponse, PublishSiteApplicationErrors, bulkDeleteSite, deployStandalonePages, duplicateSite, publishSite };