import { HttpClient } from '@wix/sdk-types'; import { DnsZone, DnsZoneNonNullableFields, PreviewDnsZoneResponse, PreviewDnsZoneResponseNonNullableFields, UpdateDnsZoneOptions, UpdateDnsZoneResponse, UpdateDnsZoneResponseNonNullableFields } from './premium-domains-v1-dns-zone-domain-dns.universal.js'; export declare const __metadata: { PACKAGE_NAME: string; }; export declare function createDnsZone(httpClient: HttpClient): CreateDnsZoneSignature; interface CreateDnsZoneSignature { /** * Creates a DNS zone in [Google's Cloud DNS](https://cloud.google.com/dns). * * * If there is an existing DNS zone for the domain, it's deleted before * the new zone is created. * * The call is synchronous, that means it fails in case of an error on * Google's side. * * You can only set up a single `record` object per DNS record * type. If you want to specify multiple values for the same record type, you * must save them in the `values` for the relevant type. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - DNS zone to create. * @returns Created DNS zone. */ (dnsZone: DnsZone): Promise; } export declare function getDnsZone(httpClient: HttpClient): GetDnsZoneSignature; interface GetDnsZoneSignature { /** * Retrieves the DNS zone belonging to the domain from * [Google's Cloud DNS](https://cloud.google.com/dns). * * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Domain to retrieve the DNS zone for. * @returns Retrieved DNS zone. */ (domainName: string): Promise; } export declare function updateDnsZone(httpClient: HttpClient): UpdateDnsZoneSignature; interface UpdateDnsZoneSignature { /** * Adds DNS records to and removes DNS records from a DNS zone in * [Google's Cloud DNS](https://cloud.google.com/dns). * * The call is synchronous, that means it fails in case of an error on * Google's side. * * You can only set up a single `record` object per DNS record * type. If you want to specify multiple values for the same record type, you * must save them in the `values` for the relevant type. This means, you must * delete the relevant record and add a new `addition` object for this type * to the request, in case you want to add values for an existing DNS record * type. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Domain to update the DNS zone for. Must include the TLD. */ (domainName: string, options?: UpdateDnsZoneOptions | undefined): Promise; } export declare function deleteDnsZone(httpClient: HttpClient): DeleteDnsZoneSignature; interface DeleteDnsZoneSignature { /** * Deletes a DNS zone in [Google's Cloud DNS](https://cloud.google.com/dns). * * * The call is synchronous, that means it fails in case of an error on * Google's side. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Domain name to delete the DNS zone for. */ (domainName: string): Promise; } export declare function previewDnsZone(httpClient: HttpClient): PreviewDnsZoneSignature; interface PreviewDnsZoneSignature { /** * Generates a preview for a DNS zone based on * [Google's Cloud DNS](https://cloud.google.com/dns). * * * This includes calculating the `A`, `CNAME`, `NS` and `SOA` records. * You can use this information to configure a domain from an external * provider, before connecting it to a Wix site. * * > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header. * @param - Domain name to generate a DNS zone preview for. */ (domainName: string): Promise; } export { ActionEvent, CreateDnsZoneRequest, CreateDnsZoneResponse, CreateDnsZoneResponseNonNullableFields, DeleteDnsZoneRequest, DeleteDnsZoneResponse, DnsRecord, DnsRecordsChangedEvent, DnsZone, DnsZoneNonNullableFields, DnssecInfo, DomainEvent, DomainEventBodyOneOf, DomainRemovedEvent, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetDnsZoneRequest, GetDnsZoneResponse, GetDnsZoneResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, PreviewDnsZoneRequest, PreviewDnsZoneResponse, PreviewDnsZoneResponseNonNullableFields, RecordType, RestoreInfo, UpdateDnsZoneOptions, UpdateDnsZoneRequest, UpdateDnsZoneResponse, UpdateDnsZoneResponseNonNullableFields, WebhookIdentityType, } from './premium-domains-v1-dns-zone-domain-dns.universal.js';