import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { AutoConfigure } from "./autoconfigure.js"; import { Routes } from "./routes.js"; export declare class Domains extends ClientSDK { private _autoConfigure?; get autoConfigure(): AutoConfigure; private _routes?; get routes(): Routes; /** * List domains for an environment * * @remarks * Returns a paginated list of inbound-email domains in the current environment. Supports cursor pagination and a name contains filter. */ list(request: operations.DomainsControllerListDomainsRequest, options?: RequestOptions): Promise; /** * Create a domain * * @remarks * Registers a new inbound-email domain. The response includes the DNS records customers must add at their DNS provider before the domain can receive mail. */ create(createDomainDto: components.CreateDomainDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Retrieve a domain by name * * @remarks * Returns the domain configuration and the DNS records that must be in place. This is a pure read; call `domains.verify` to refresh verification status from DNS. */ retrieve(domain: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Update a domain * * @remarks * Updates optional domain fields. When `data` is provided, it replaces the entire metadata object; omit `data` to leave it unchanged. */ update(updateDomainDto: components.UpdateDomainDto, domain: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete a domain * * @remarks * Removes the domain and cascades the deletion to all of its routes. Inbound mail for that domain stops being processed immediately. */ delete(domain: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Diagnose inbound DNS for a domain * * @remarks * Runs live DNS checks for inbound email readiness (MX correctness, apex CNAME collision, and common DNS blocklists for the Novu mail host). Returns structured issues with plain-language fixes. */ diagnose(domain: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Verify a domain * * @remarks * Performs a live DNS lookup to refresh the MX record status of the domain and updates the verification status accordingly. Returns the latest domain configuration. */ verify(domain: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=domains.d.ts.map