UNPKG

@inworld/web-core

Version:
33 lines (32 loc) 1.22 kB
import * as z from "zod"; export declare const PlaybackEnumSchema: z.ZodEnum<["INTERACTION", "INTERACTION_END", "UNSPECIFIED", "UTTERANCE"]>; export type PlaybackEnum = z.infer<typeof PlaybackEnumSchema>; export declare const NarratedActionSchema: z.ZodObject<{ content: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { content?: string; }, { content?: string; }>; export type NarratedAction = z.infer<typeof NarratedActionSchema>; export declare const ActionEventSchema: z.ZodObject<{ narrated_action: z.ZodOptional<z.ZodObject<{ content: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { content?: string; }, { content?: string; }>>; playback: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["INTERACTION", "INTERACTION_END", "UNSPECIFIED", "UTTERANCE"]>, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { narrated_action?: { content?: string; }; playback?: number | "UNSPECIFIED" | "INTERACTION_END" | "INTERACTION" | "UTTERANCE"; }, { narrated_action?: { content?: string; }; playback?: number | "UNSPECIFIED" | "INTERACTION_END" | "INTERACTION" | "UTTERANCE"; }>; export type ActionEvent = z.infer<typeof ActionEventSchema>;