import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Kind of entry; omitted or "word" for spoken words, "audio_event" for non-speech sounds the provider tags with timestamps */ export declare const STTWordType: { readonly Word: "word"; readonly AudioEvent: "audio_event"; }; /** * Kind of entry; omitted or "word" for spoken words, "audio_event" for non-speech sounds the provider tags with timestamps */ export type STTWordType = OpenEnum; /** * A timestamped word, returned when the provider includes word-level timestamps */ export type STTWord = { /** * Zero-based audio channel index for the word, present when the provider transcribes channels separately */ channel?: number | undefined; /** * Provider confidence for the word from 0 to 1, present when the provider returns per-word confidence */ confidence?: number | undefined; /** * Word end time in seconds */ end: number; /** * Speaker index for the word, present when the provider returns diarization data */ speaker?: number | undefined; /** * Provider speaker label for the word, present when the provider labels speakers with a string */ speakerLabel?: string | undefined; /** * Word start time in seconds */ start: number; /** * Kind of entry; omitted or "word" for spoken words, "audio_event" for non-speech sounds the provider tags with timestamps */ type?: STTWordType | undefined; /** * The transcribed word, or the event tag such as "(laughter)" when type is audio_event */ word: string; }; /** @internal */ export declare const STTWordType$inboundSchema: z.ZodType; /** @internal */ export declare const STTWord$inboundSchema: z.ZodType; export declare function sttWordFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sttword.d.ts.map