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 ListServiceEventsRequest = { id: string; 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 ListServiceEventsResponse = components.ComputeEventList | components.ComputeErrorEnvelope; /** @internal */ export declare const ListServiceEventsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListServiceEventsRequest$Outbound = { id: string; cursor?: string | undefined; limit: number; order: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListServiceEventsRequest$outboundSchema: z.ZodType; export declare function listServiceEventsRequestToJSON(listServiceEventsRequest: ListServiceEventsRequest): string; export declare function listServiceEventsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListServiceEventsResponse$inboundSchema: z.ZodType; /** @internal */ export type ListServiceEventsResponse$Outbound = components.ComputeEventList$Outbound | components.ComputeErrorEnvelope$Outbound; /** @internal */ export declare const ListServiceEventsResponse$outboundSchema: z.ZodType; export declare function listServiceEventsResponseToJSON(listServiceEventsResponse: ListServiceEventsResponse): string; export declare function listServiceEventsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listserviceevents.d.ts.map