import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreateStreamResponse = { /** * HTTP response content type for this operation */ contentType: string; /** * HTTP response status code for this operation */ statusCode: number; /** * Raw HTTP response; suitable for custom response parsing */ rawResponse: Response; /** * Success */ stream?: components.Stream | undefined; /** * Error */ error?: components.ErrorT | undefined; }; /** @internal */ export declare const CreateStreamResponse$inboundSchema: z.ZodType; /** @internal */ export type CreateStreamResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; stream?: components.Stream$Outbound | undefined; error?: components.ErrorT$Outbound | undefined; }; /** @internal */ export declare const CreateStreamResponse$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 CreateStreamResponse$ { /** @deprecated use `CreateStreamResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateStreamResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateStreamResponse$Outbound` instead. */ type Outbound = CreateStreamResponse$Outbound; } export declare function createStreamResponseToJSON(createStreamResponse: CreateStreamResponse): string; export declare function createStreamResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createstream.d.ts.map