/** * Domains — apex domain registration + hostnames + DKIM email. * * Wire shape sourced from `@sylphx/contract` (ADR-084) for the migrated * operations (list/create/addHostname/removeHostname). The email + * hostname-check operations still use hand-written paths until a future * contract wave covers them. */ import type { AddHostnameInput, DomainEmailBinding, DomainHostname, Domain as DomainResult } from '@sylphx/contract'; import type { Client } from './client.js'; export interface OrgScopedRequestOptions { readonly orgId?: string; } export interface EnvironmentTargetRequestOptions extends OrgScopedRequestOptions { readonly envId?: string; } export declare const list: (client: Client, projectId: string, envType?: string, options?: EnvironmentTargetRequestOptions) => Promise; export declare const create: (client: Client, projectId: string, apexDomain: string, envType?: string, options?: EnvironmentTargetRequestOptions) => Promise; export interface AddHostnameOpts extends Omit { readonly envType?: string; readonly envId?: string; } export declare const addHostname: (client: Client, projectId: string, domainId: string, hostname: string, opts: AddHostnameOpts, options?: OrgScopedRequestOptions) => Promise; export declare const removeHostname: (client: Client, projectId: string, domainId: string, hostnameId: string, options?: OrgScopedRequestOptions) => Promise; export declare const checkHostname: (client: Client, projectId: string, domainId: string, hostnameId: string, options?: OrgScopedRequestOptions) => Promise; export interface EnableEmailOpts { readonly defaultFromEmail?: string; readonly defaultFromName?: string; } export declare const enableEmail: (client: Client, projectId: string, domainId: string, opts?: EnableEmailOpts, options?: OrgScopedRequestOptions) => Promise; export declare const checkEmail: (client: Client, projectId: string, domainId: string, options?: OrgScopedRequestOptions) => Promise; export declare const disableEmail: (client: Client, projectId: string, domainId: string, options?: OrgScopedRequestOptions) => Promise; //# sourceMappingURL=domains.d.ts.map