import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetDomainRequest = {
    /**
     * The name of the domain.
     */
    domain: string;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
};
/**
 * An object containing information of the domain creator, including the user's id, username, and email.
 */
export type GetDomainCreator = {
    username: string;
    email: string;
    customerId?: string | null | undefined;
    isDomainReseller?: boolean | undefined;
    id: string;
};
/**
 * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
 */
export declare const GetDomainServiceType: {
    readonly External: "external";
    readonly Na: "na";
    readonly ZeitWorld: "zeit.world";
};
/**
 * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
 */
export type GetDomainServiceType = ClosedEnum<typeof GetDomainServiceType>;
export type GetDomainDomain = {
    suffix: boolean;
    /**
     * Timestamp in milliseconds at which the domain is set to expire. null if not bought with Vercel.
     */
    expiresAt: number | null;
    /**
     * If the domain has the ownership verified.
     */
    verified: boolean;
    /**
     * A list of the current nameservers of the domain.
     */
    nameservers: Array<string>;
    /**
     * A list of the intended nameservers for the domain to point to Vercel DNS.
     */
    intendedNameservers: Array<string>;
    /**
     * A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.
     */
    customNameservers?: Array<string> | undefined;
    /**
     * An object containing information of the domain creator, including the user's id, username, and email.
     */
    creator: GetDomainCreator;
    /**
     * The domain name.
     */
    name: string;
    teamId: string | null;
    /**
     * If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.
     */
    boughtAt: number | null;
    /**
     * Timestamp in milliseconds when the domain was created in the registry.
     */
    createdAt: number;
    /**
     * The unique identifier of the domain.
     */
    id: string;
    /**
     * Indicates whether the domain is set to automatically renew.
     */
    renew?: boolean | undefined;
    /**
     * The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
     */
    serviceType: GetDomainServiceType;
    /**
     * Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.
     */
    transferredAt?: number | null | undefined;
    /**
     * If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.
     */
    transferStartedAt?: number | undefined;
    userId: string;
};
/**
 * Successful response retrieving an information for a specific domains.
 */
export type GetDomainResponseBody = {
    domain: GetDomainDomain;
};
/** @internal */
export type GetDomainRequest$Outbound = {
    domain: string;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetDomainRequest$outboundSchema: z.ZodType<GetDomainRequest$Outbound, z.ZodTypeDef, GetDomainRequest>;
export declare function getDomainRequestToJSON(getDomainRequest: GetDomainRequest): string;
/** @internal */
export declare const GetDomainCreator$inboundSchema: z.ZodType<GetDomainCreator, z.ZodTypeDef, unknown>;
export declare function getDomainCreatorFromJSON(jsonString: string): SafeParseResult<GetDomainCreator, SDKValidationError>;
/** @internal */
export declare const GetDomainServiceType$inboundSchema: z.ZodNativeEnum<typeof GetDomainServiceType>;
/** @internal */
export declare const GetDomainDomain$inboundSchema: z.ZodType<GetDomainDomain, z.ZodTypeDef, unknown>;
export declare function getDomainDomainFromJSON(jsonString: string): SafeParseResult<GetDomainDomain, SDKValidationError>;
/** @internal */
export declare const GetDomainResponseBody$inboundSchema: z.ZodType<GetDomainResponseBody, z.ZodTypeDef, unknown>;
export declare function getDomainResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDomainResponseBody, SDKValidationError>;
//# sourceMappingURL=getdomainop.d.ts.map