/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d3610c601337
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { UsageInfoDollarDefs$inboundSchema, } from "./usageinfodollardefs.js";
/** @internal */
export const SpeechStreamDone$inboundSchema = z.object({
    type: z.literal("speech.audio.done"),
    usage: UsageInfoDollarDefs$inboundSchema,
});
export function speechStreamDoneFromJSON(jsonString) {
    return safeParse(jsonString, (x) => SpeechStreamDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SpeechStreamDone' from JSON`);
}
//# sourceMappingURL=speechstreamdone.js.map