import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * A timestamped word, returned when the provider includes word-level timestamps */ export type STTWord = { /** * 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; /** * Word start time in seconds */ start: number; /** * The transcribed word */ word: string; }; /** @internal */ export declare const STTWord$inboundSchema: z.ZodType; export declare function sttWordFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sttword.d.ts.map