import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TranscriptionSegmentChunk, TranscriptionSegmentChunk$Outbound } from "./transcriptionsegmentchunk.js"; import { UsageInfo, UsageInfo$Outbound } from "./usageinfo.js"; export type TranscriptionResponse = { model: string; text: string; segments?: Array | undefined; usage: UsageInfo; language: string | null; additionalProperties?: { [k: string]: any; }; }; /** @internal */ export declare const TranscriptionResponse$inboundSchema: z.ZodType; /** @internal */ export type TranscriptionResponse$Outbound = { model: string; text: string; segments?: Array | undefined; usage: UsageInfo$Outbound; language: string | null; [additionalProperties: string]: unknown; }; /** @internal */ export declare const TranscriptionResponse$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 TranscriptionResponse$ { /** @deprecated use `TranscriptionResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TranscriptionResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TranscriptionResponse$Outbound` instead. */ type Outbound = TranscriptionResponse$Outbound; } export declare function transcriptionResponseToJSON(transcriptionResponse: TranscriptionResponse): string; export declare function transcriptionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transcriptionresponse.d.ts.map