import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; import { TranscriptionSegment, TranscriptionSegment$Outbound } from "./transcriptionsegment.js"; import { TranscriptionWord, TranscriptionWord$Outbound } from "./transcriptionword.js"; export type TranscriptionVerboseResponse = { /** * The task which was performed. Either `transcribe` or `translate`. */ task?: string | undefined; /** * The language of the transcribed/translated text. */ language: string; /** * The duration of the transcribed/translated audio, in seconds. */ duration: number; /** * The transcribed/translated text. */ text: string; /** * Extracted words and their corresponding timestamps. */ words?: Array | null | undefined; /** * Segments of the transcribed/translated text and their corresponding details. */ segments?: Array | null | undefined; }; /** @internal */ export declare const TranscriptionVerboseResponse$inboundSchema: z.ZodType; /** @internal */ export type TranscriptionVerboseResponse$Outbound = { task: string; language: string; duration: number; text: string; words?: Array | null | undefined; segments?: Array | null | undefined; }; /** @internal */ export declare const TranscriptionVerboseResponse$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 TranscriptionVerboseResponse$ { /** @deprecated use `TranscriptionVerboseResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TranscriptionVerboseResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TranscriptionVerboseResponse$Outbound` instead. */ type Outbound = TranscriptionVerboseResponse$Outbound; } export declare function transcriptionVerboseResponseToJSON(transcriptionVerboseResponse: TranscriptionVerboseResponse): string; export declare function transcriptionVerboseResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transcriptionverboseresponse.d.ts.map