import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { ConnectedDomain, ListConnectedDomainsOptions, ListConnectedDomainsResponse } from './index.typings.js'; export { AccountInfo, ActionEvent, AssignmentType, AssignmentTypeWithLiterals, ConnectionType, ConnectionTypeWithLiterals, CreateConnectedDomainRequest, CreateConnectedDomainResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteConnectedDomainRequest, DeleteConnectedDomainResponse, DnsPropagationStatus, DnsPropagationStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetConnectedDomainRequest, GetConnectedDomainResponse, IdentificationData, IdentificationDataIdOneOf, ListConnectedDomainsRequest, MessageEnvelope, RedirectAssignmentInfo, RestoreInfo, SiteInfo, SiteInfoAssignmentInfoOneOf, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function createConnectedDomain$1(httpClient: HttpClient): CreateConnectedDomainSignature; interface CreateConnectedDomainSignature { /** * Creates a `connectedDomain` object and starts the domain connection process. It may take up to 48 hours for the DNS changes to take effect. * * You must pass the relevant Wix account ID in the header of the call. You may also pass a Wix site ID in the header. * * You can only connect external domains using this endpoint. * * You can connect both root domains and subdomains to Wix sites. * * The domain can be assigned as a primary domain or a redirect. You can read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains). If you connect a domain as `"PRIMARY"` to a Wix site, the existing primary domain automatically becomes unassigned. * * > **Important:** This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Domain to connect. * @returns Connected domain. */ (connectedDomain: NonNullablePaths): Promise>; } declare function getConnectedDomain$1(httpClient: HttpClient): GetConnectedDomainSignature; interface GetConnectedDomainSignature { /** * Retrieves a connected domain. * * * You must pass the relevant Wix account ID in the header of the call. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - ID of the connected domain. Identical to the domain name including TLD. * @returns Retrieved connected domain. */ (connectedDomainId: string): Promise>; } declare function deleteConnectedDomain$1(httpClient: HttpClient): DeleteConnectedDomainSignature; interface DeleteConnectedDomainSignature { /** * Deletes a `connectedDomain` object and removes related DNS records from * [Google's Cloud DNS](https://cloud.google.com/dns). * * * You must pass the relevant Wix account ID in the header of the call. * * If you delete a `"PRIMARY"` domain, the site automatically uses the standard * URL for free Wix sites. Read more about * [URLs of free Wix sites](https://support.wix.com/en/article/changing-your-free-wix-url-8591528). * * When you delete a subdomain, its CNAME record is deleted from Google's Cloud DNS. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - ID of the connected domain to delete. Identical to the domain name including TLD. */ (connectedDomainId: string): Promise; } declare function listConnectedDomains$1(httpClient: HttpClient): ListConnectedDomainsSignature; interface ListConnectedDomainsSignature { /** * Retrieves a list of up to 100 connected domains. * * * You must pass the relevant Wix account ID in the header of the call. * * The retrieved domains are sorted by `createdDate` in descending order. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Filter options. */ (options?: ListConnectedDomainsOptions): Promise>; } declare const createConnectedDomain: MaybeContext & typeof createConnectedDomain$1>; declare const getConnectedDomain: MaybeContext & typeof getConnectedDomain$1>; declare const deleteConnectedDomain: MaybeContext & typeof deleteConnectedDomain$1>; declare const listConnectedDomains: MaybeContext & typeof listConnectedDomains$1>; export { ConnectedDomain, ListConnectedDomainsOptions, ListConnectedDomainsResponse, createConnectedDomain, deleteConnectedDomain, getConnectedDomain, listConnectedDomains };