import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreateServiceRequest = { idempotencyKey: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; computeResourceCreate: components.ComputeResourceCreate; }; export type CreateServiceResponse = components.ComputeService | components.ComputeErrorEnvelope; /** @internal */ export declare const CreateServiceRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateServiceRequest$Outbound = { "Idempotency-Key": string; "X-On-Behalf-Of"?: string | undefined; ComputeResourceCreate: components.ComputeResourceCreate$Outbound; }; /** @internal */ export declare const CreateServiceRequest$outboundSchema: z.ZodType; export declare function createServiceRequestToJSON(createServiceRequest: CreateServiceRequest): string; export declare function createServiceRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateServiceResponse$inboundSchema: z.ZodType; /** @internal */ export type CreateServiceResponse$Outbound = components.ComputeService$Outbound | components.ComputeErrorEnvelope$Outbound; /** @internal */ export declare const CreateServiceResponse$outboundSchema: z.ZodType; export declare function createServiceResponseToJSON(createServiceResponse: CreateServiceResponse): string; export declare function createServiceResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createservice.d.ts.map