import { BaseResource } from './BaseResource.js'; import type { RequestOptions } from '../types/common.js'; import type { CustomDomain, DomainAddParams, DomainVerifyParams, DomainRemoveParams, DomainConfigParams, DnsLookupParams, DomainVerifyResponse, DomainConfigResponse, DnsLookupResponse } from '../types/domains.js'; export declare class Domains extends BaseResource { /** * List custom domains for the account. */ list(opts?: RequestOptions): Promise<{ domains: CustomDomain[]; }>; /** * Add a custom domain. Validates format before sending. */ add(params: DomainAddParams, opts?: RequestOptions): Promise<{ success: boolean; domain: CustomDomain; }>; /** * Verify DNS configuration and ownership of a custom domain. */ verify(params: DomainVerifyParams, opts?: RequestOptions): Promise; /** * Remove a custom domain. */ remove(params: DomainRemoveParams, opts?: RequestOptions): Promise<{ success: boolean; }>; /** * Get domain configuration (recommended CNAME, misconfigured status). * Useful to display DNS setup instructions to users. */ getConfig(params: DomainConfigParams, opts?: RequestOptions): Promise; /** * Lookup DNS records for a domain. Queries both standard and Google DNS. */ getDnsLookup(params: DnsLookupParams, opts?: RequestOptions): Promise; } //# sourceMappingURL=Domains.d.ts.map