import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SpeakerSegment, SpeakerSegment$Outbound } from "./speakersegment.js"; /** * Response from the transcription endpoint containing the transcribed text, detected language, confidence score, and optional speaker segments. */ export type TranscriptionResponse = { /** * The transcribed text from the audio file */ text: string; /** * The detected or specified language code in ISO-639-1 format (e.g., 'en', 'es', 'fr') */ language?: string | undefined; /** * Confidence score from 0 to 1 where 1 indicates highest confidence in transcription accuracy */ confidence?: number | undefined; /** * Speaker diarization segments, returned only when include_speaker_data is true. */ speakers?: Array | undefined; }; /** @internal */ export declare const TranscriptionResponse$inboundSchema: z.ZodType; /** @internal */ export type TranscriptionResponse$Outbound = { text: string; language?: string | undefined; confidence?: number | undefined; speakers?: Array | undefined; }; /** @internal */ export declare const TranscriptionResponse$outboundSchema: z.ZodType; export declare function transcriptionResponseToJSON(transcriptionResponse: TranscriptionResponse): string; export declare function transcriptionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transcriptionresponse.d.ts.map