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 GetStreamRequest = { /** * ID of the stream */ id: string; }; export type GetStreamResponse = { /** * 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 GetStreamRequest$inboundSchema: z.ZodType; /** @internal */ export type GetStreamRequest$Outbound = { id: string; }; /** @internal */ export declare const GetStreamRequest$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 GetStreamRequest$ { /** @deprecated use `GetStreamRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetStreamRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetStreamRequest$Outbound` instead. */ type Outbound = GetStreamRequest$Outbound; } export declare function getStreamRequestToJSON(getStreamRequest: GetStreamRequest): string; export declare function getStreamRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetStreamResponse$inboundSchema: z.ZodType; /** @internal */ export type GetStreamResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; stream?: components.Stream$Outbound | undefined; error?: components.ErrorT$Outbound | undefined; }; /** @internal */ export declare const GetStreamResponse$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 GetStreamResponse$ { /** @deprecated use `GetStreamResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetStreamResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetStreamResponse$Outbound` instead. */ type Outbound = GetStreamResponse$Outbound; } export declare function getStreamResponseToJSON(getStreamResponse: GetStreamResponse): string; export declare function getStreamResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getstream.d.ts.map