import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdatePromptRequestBody = { /** * Updated prompt name */ name?: string | undefined; /** * Updated description — pass null to clear */ description?: string | null | undefined; /** * Updated metadata — replaces existing */ metadata?: { [k: string]: any; } | undefined; }; export type UpdatePromptRequest = { id: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody: UpdatePromptRequestBody; }; /** @internal */ export declare const UpdatePromptRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdatePromptRequestBody$Outbound = { name?: string | undefined; description?: string | null | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const UpdatePromptRequestBody$outboundSchema: z.ZodType; export declare function updatePromptRequestBodyToJSON(updatePromptRequestBody: UpdatePromptRequestBody): string; export declare function updatePromptRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdatePromptRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdatePromptRequest$Outbound = { id: string; "X-On-Behalf-Of"?: string | undefined; RequestBody: UpdatePromptRequestBody$Outbound; }; /** @internal */ export declare const UpdatePromptRequest$outboundSchema: z.ZodType; export declare function updatePromptRequestToJSON(updatePromptRequest: UpdatePromptRequest): string; export declare function updatePromptRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updateprompt.d.ts.map