import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { DomainEndpoint } from "./domainendpoint.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const DomainWithUsageStatus: { readonly PendingZoneCreation: "pending-zone-creation"; readonly PendingVerification: "pending-verification"; readonly Verified: "verified"; readonly LostVerification: "lost-verification"; readonly Failed: "failed"; readonly Deleting: "deleting"; }; export type DomainWithUsageStatus = ClosedEnum; export type DeploymentUrlProject = { id: string; name: string; }; export type PortalBinding = { id: string; projectId: string | null; projectName: string | null; hostname: string; }; export type PackageDomain = { id: string; hostname: string; }; export type ManagerBinding = { id: string; managerId: string; managerName: string; hostname: string; }; export type DomainWithUsageUsage = { deploymentUrlProjects: Array; portalBindings: Array; packageDomains: Array; managerBindings: Array; }; export type DomainWithUsage = { /** * Unique identifier for the domain. */ id: string; /** * Unique identifier for the workspace. */ workspaceId: string; domain: string; isSystem: boolean; claimToken: string; hostedZoneId?: string | null | undefined; nameServers?: Array | null | undefined; status: DomainWithUsageStatus; error?: any | null | undefined; createdAt: Date; updatedAt: Date; verifiedAt?: Date | null | undefined; endpoints: Array; usage: DomainWithUsageUsage; }; /** @internal */ export declare const DomainWithUsageStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentUrlProject$inboundSchema: z.ZodType; export declare function deploymentUrlProjectFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PortalBinding$inboundSchema: z.ZodType; export declare function portalBindingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PackageDomain$inboundSchema: z.ZodType; export declare function packageDomainFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ManagerBinding$inboundSchema: z.ZodType; export declare function managerBindingFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DomainWithUsageUsage$inboundSchema: z.ZodType; export declare function domainWithUsageUsageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DomainWithUsage$inboundSchema: z.ZodType; export declare function domainWithUsageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=domainwithusage.d.ts.map