import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GenerateQRCodeRequestBody = { /** * The text to be encoded in the QR code. */ prompt?: string | undefined; /** * The height of the QR code image. */ height?: number | undefined; /** * The width of the QR code image. */ width?: number | undefined; /** * The model to be used for generating the QR code. */ model?: string | undefined; }; export type GenerateQRCodeRequest = { /** * The account in which the model is. */ accountId: string; /** * The ID of the model, e.g., stable-diffusion-xl-1024-v1-0. */ modelId: string; requestBody: GenerateQRCodeRequestBody; }; export type GenerateQRCodeResponse = ReadableStream | ReadableStream; /** @internal */ export declare const GenerateQRCodeRequestBody$inboundSchema: z.ZodType; /** @internal */ export type GenerateQRCodeRequestBody$Outbound = { prompt?: string | undefined; height?: number | undefined; width?: number | undefined; model?: string | undefined; }; /** @internal */ export declare const GenerateQRCodeRequestBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GenerateQRCodeRequestBody$ { /** @deprecated use `GenerateQRCodeRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenerateQRCodeRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenerateQRCodeRequestBody$Outbound` instead. */ type Outbound = GenerateQRCodeRequestBody$Outbound; } export declare function generateQRCodeRequestBodyToJSON(generateQRCodeRequestBody: GenerateQRCodeRequestBody): string; export declare function generateQRCodeRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GenerateQRCodeRequest$inboundSchema: z.ZodType; /** @internal */ export type GenerateQRCodeRequest$Outbound = { accountId: string; modelId: string; RequestBody: GenerateQRCodeRequestBody$Outbound; }; /** @internal */ export declare const GenerateQRCodeRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GenerateQRCodeRequest$ { /** @deprecated use `GenerateQRCodeRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GenerateQRCodeRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GenerateQRCodeRequest$Outbound` instead. */ type Outbound = GenerateQRCodeRequest$Outbound; } export declare function generateQRCodeRequestToJSON(generateQRCodeRequest: GenerateQRCodeRequest): string; export declare function generateQRCodeRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GenerateQRCodeResponse$inboundSchema: z.ZodType; /** @internal */ export type GenerateQRCodeResponse$Outbound = ReadableStream | ReadableStream; /** @internal */ export declare const GenerateQRCodeResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GenerateQRCodeResponse$ { /** @deprecated use `GenerateQRCodeResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType, z.ZodTypeDef, unknown>; /** @deprecated use `GenerateQRCodeResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType, z.ZodTypeDef, ReadableStream>; /** @deprecated use `GenerateQRCodeResponse$Outbound` instead. */ type Outbound = GenerateQRCodeResponse$Outbound; } export declare function generateQRCodeResponseToJSON(generateQRCodeResponse: GenerateQRCodeResponse): string; export declare function generateQRCodeResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=generateqrcodeop.d.ts.map