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 ListServiceInstancesRequest = { id: string; state?: components.ComputeInstanceState | undefined; cursor?: string | undefined; limit?: number | undefined; /** * asc pages oldest-first (default); desc pages newest-first. A cursor is only valid within a traversal that keeps the same order. */ order?: components.ComputeOrder | undefined; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; export type ListServiceInstancesResponse = components.ComputeInstanceList | components.ComputeErrorEnvelope; /** @internal */ export declare const ListServiceInstancesRequest$inboundSchema: z.ZodType; /** @internal */ export type ListServiceInstancesRequest$Outbound = { id: string; state?: string | undefined; cursor?: string | undefined; limit: number; order: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListServiceInstancesRequest$outboundSchema: z.ZodType; export declare function listServiceInstancesRequestToJSON(listServiceInstancesRequest: ListServiceInstancesRequest): string; export declare function listServiceInstancesRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListServiceInstancesResponse$inboundSchema: z.ZodType; /** @internal */ export type ListServiceInstancesResponse$Outbound = components.ComputeInstanceList$Outbound | components.ComputeErrorEnvelope$Outbound; /** @internal */ export declare const ListServiceInstancesResponse$outboundSchema: z.ZodType; export declare function listServiceInstancesResponseToJSON(listServiceInstancesResponse: ListServiceInstancesResponse): string; export declare function listServiceInstancesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listserviceinstances.d.ts.map