import { z } from "zod"; import { type PlayMode } from "./session.js"; export declare const ActionSourceSchema: z.ZodEnum<["free-text", "button", "slash", "quick-action"]>; export type ActionSource = z.infer; export declare const SkillIdSchema: z.ZodString; export declare const RequestedIntentSchema: z.ZodEnum<["create_book", "write_next", "short_run", "play_start", "play_step", "generate_cover", "edit_artifact", "fanfic_init", "continuation_import", "spinoff_create", "style_imitation", "script_create", "storyboard_create", "interactive_film_create", "translation_create", "draft_structure", "connect_choice", "remove_node"]>; export type RequestedIntent = z.infer; export declare const CreateBookActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; }>; export declare const WriteNextActionPayloadSchema: z.ZodObject<{ chapterCount: z.ZodDefault; }, "strict", z.ZodTypeAny, { chapterCount: number; }, { chapterCount?: number | undefined; }>; export declare function shortRunCharsPerChapterRange(language: "zh" | "en"): { readonly min: number; readonly max: number; }; export declare function shortRunCharsPerChapterError(value: number, language: "zh" | "en"): string; export declare const ShortRunActionPayloadSchema: z.ZodEffects; direction: z.ZodOptional; reference: z.ZodOptional; storyId: z.ZodOptional; language: z.ZodOptional>; chapters: z.ZodOptional; charsPerChapter: z.ZodOptional; cover: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }>, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }>; export declare const PlayStartActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; premise: z.ZodOptional; worldContract: z.ZodOptional; visualContract: z.ZodOptional; mode: z.ZodOptional>; initialScene: z.ZodOptional; suggestedActions: z.ZodOptional>; }, "strict", z.ZodTypeAny, { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; }, { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; }>; export declare const GenerateCoverActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; intro: z.ZodOptional; sellingPoints: z.ZodOptional; coverPrompt: z.ZodOptional; outputDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; }, { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; }>; export declare const ScriptTargetFormatSchema: z.ZodEnum<["vertical_short_drama", "screenplay", "audio_drama", "interactive_script", "general_script"]>; export declare const ScriptCreateActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; sourceKind: z.ZodOptional; targetFormat: z.ZodOptional>; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; episodeCount: z.ZodOptional; episodeDuration: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; }, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; }>; export declare const StoryboardCreateActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; sourceKind: z.ZodOptional; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; visualStyle: z.ZodOptional; aspectRatio: z.ZodOptional; granularity: z.ZodOptional; maxShots: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; }, { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; }>; export declare const InteractiveFilmCreateActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; sourceKind: z.ZodOptional; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; targetAudience: z.ZodOptional; episodeCount: z.ZodOptional; episodeDuration: z.ZodOptional; budget: z.ZodOptional; referenceMode: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; }, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; }>; export declare const TranslationCreateActionPayloadSchema: z.ZodObject<{ filePath: z.ZodOptional; sourceLanguage: z.ZodOptional; targetLanguage: z.ZodOptional; title: z.ZodOptional; segmentMaxChars: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; }, { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; }>; export declare const FanficCreateActionPayloadSchema: z.ZodEffects; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; sourceName: z.ZodOptional; mode: z.ZodOptional>; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }>, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }>; export declare const ContinuationImportActionPayloadSchema: z.ZodObject<{ bookId: z.ZodOptional; title: z.ZodOptional; sourcePath: z.ZodOptional; splitPattern: z.ZodOptional; resumeFrom: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; }>; export declare const SpinoffCreateActionPayloadSchema: z.ZodObject<{ title: z.ZodOptional; parentBookId: z.ZodOptional; direction: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; }>; export declare const ImitationCreateActionPayloadSchema: z.ZodEffects; referenceText: z.ZodOptional; referencePath: z.ZodOptional; storyIdea: z.ZodOptional; sourceName: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }>, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }>; export declare const ActionPayloadSchema: z.ZodObject<{ createBook: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; }>>; writeNext: z.ZodOptional; }, "strict", z.ZodTypeAny, { chapterCount: number; }, { chapterCount?: number | undefined; }>>; shortRun: z.ZodOptional; direction: z.ZodOptional; reference: z.ZodOptional; storyId: z.ZodOptional; language: z.ZodOptional>; chapters: z.ZodOptional; charsPerChapter: z.ZodOptional; cover: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }>, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }, { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; }>>; playStart: z.ZodOptional; premise: z.ZodOptional; worldContract: z.ZodOptional; visualContract: z.ZodOptional; mode: z.ZodOptional>; initialScene: z.ZodOptional; suggestedActions: z.ZodOptional>; }, "strict", z.ZodTypeAny, { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; }, { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; }>>; generateCover: z.ZodOptional; intro: z.ZodOptional; sellingPoints: z.ZodOptional; coverPrompt: z.ZodOptional; outputDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; }, { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; }>>; scriptCreate: z.ZodOptional; sourceKind: z.ZodOptional; targetFormat: z.ZodOptional>; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; episodeCount: z.ZodOptional; episodeDuration: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; }, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; }>>; storyboardCreate: z.ZodOptional; sourceKind: z.ZodOptional; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; visualStyle: z.ZodOptional; aspectRatio: z.ZodOptional; granularity: z.ZodOptional; maxShots: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; }, { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; }>>; interactiveFilmCreate: z.ZodOptional; sourceKind: z.ZodOptional; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; requirements: z.ZodOptional; targetAudience: z.ZodOptional; episodeCount: z.ZodOptional; episodeDuration: z.ZodOptional; budget: z.ZodOptional; referenceMode: z.ZodOptional; projectId: z.ZodOptional; outDir: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; }, { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; }>>; translationCreate: z.ZodOptional; sourceLanguage: z.ZodOptional; targetLanguage: z.ZodOptional; title: z.ZodOptional; segmentMaxChars: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; }, { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; }>>; fanficCreate: z.ZodOptional; sourceText: z.ZodOptional; sourcePath: z.ZodOptional; sourceName: z.ZodOptional; mode: z.ZodOptional>; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }>, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; }>>; continuationImport: z.ZodOptional; title: z.ZodOptional; sourcePath: z.ZodOptional; splitPattern: z.ZodOptional; resumeFrom: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; }>>; spinoffCreate: z.ZodOptional; parentBookId: z.ZodOptional; direction: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; }>>; imitationCreate: z.ZodOptional; referenceText: z.ZodOptional; referencePath: z.ZodOptional; storyIdea: z.ZodOptional; sourceName: z.ZodOptional; genre: z.ZodOptional; platform: z.ZodOptional>; language: z.ZodOptional>; targetChapters: z.ZodOptional; chapterWordCount: z.ZodOptional; }, "strict", z.ZodTypeAny, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }>, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }, { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; }>>; draftStructure: z.ZodOptional; instruction: z.ZodDefault; }, "strip", z.ZodTypeAny, { instruction: string; projectId?: string | undefined; }, { instruction?: string | undefined; projectId?: string | undefined; }>>; connectChoice: z.ZodOptional; node: z.ZodObject<{ id: z.ZodString; title: z.ZodDefault; type: z.ZodEnum<["start", "normal", "branch", "merge", "ending", "explore"]>; sceneDesc: z.ZodDefault; dialogue: z.ZodDefault; }, "strip", z.ZodTypeAny, { text: string; speaker: string; emotion: string; }, { text: string; speaker: string; emotion?: string | undefined; }>, "many">>; choices: z.ZodDefault=", "<=", ">", "<", "==", "!="]>; value: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; }, { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; }>>; effects: z.ZodDefault; value: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean]>; }, "strip", z.ZodTypeAny, { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }, { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }>, "many">>; weight: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; text: string; targetNodeId: string; effects: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[]; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; weight?: "light" | "heavy" | "critical" | undefined; }, { id: string; text: string; targetNodeId: string; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; effects?: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[] | undefined; weight?: "light" | "heavy" | "critical" | undefined; }>, "many">>; imageSlot: z.ZodOptional; assetRef: z.ZodOptional; }, "strip", z.ZodTypeAny, { prompt: string; assetRef?: string | undefined; }, { prompt?: string | undefined; assetRef?: string | undefined; }>>; act: z.ZodDefault; position: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title: string; sceneDesc: string; dialogue: { text: string; speaker: string; emotion: string; }[]; choices: { id: string; text: string; targetNodeId: string; effects: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[]; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[]; act: string; imageSlot?: { prompt: string; assetRef?: string | undefined; } | undefined; position?: { x: number; y: number; } | undefined; }, { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title?: string | undefined; sceneDesc?: string | undefined; dialogue?: { text: string; speaker: string; emotion?: string | undefined; }[] | undefined; choices?: { id: string; text: string; targetNodeId: string; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; effects?: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[] | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[] | undefined; imageSlot?: { prompt?: string | undefined; assetRef?: string | undefined; } | undefined; act?: string | undefined; position?: { x: number; y: number; } | undefined; }>; }, "strip", z.ZodTypeAny, { node: { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title: string; sceneDesc: string; dialogue: { text: string; speaker: string; emotion: string; }[]; choices: { id: string; text: string; targetNodeId: string; effects: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[]; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[]; act: string; imageSlot?: { prompt: string; assetRef?: string | undefined; } | undefined; position?: { x: number; y: number; } | undefined; }; projectId?: string | undefined; }, { node: { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title?: string | undefined; sceneDesc?: string | undefined; dialogue?: { text: string; speaker: string; emotion?: string | undefined; }[] | undefined; choices?: { id: string; text: string; targetNodeId: string; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; effects?: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[] | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[] | undefined; imageSlot?: { prompt?: string | undefined; assetRef?: string | undefined; } | undefined; act?: string | undefined; position?: { x: number; y: number; } | undefined; }; projectId?: string | undefined; }>>; removeNode: z.ZodOptional; nodeId: z.ZodString; }, "strip", z.ZodTypeAny, { nodeId: string; projectId?: string | undefined; }, { nodeId: string; projectId?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { createBook?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; } | undefined; writeNext?: { chapterCount: number; } | undefined; shortRun?: { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; } | undefined; playStart?: { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; } | undefined; generateCover?: { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; } | undefined; scriptCreate?: { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; } | undefined; storyboardCreate?: { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; } | undefined; interactiveFilmCreate?: { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; } | undefined; translationCreate?: { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; } | undefined; fanficCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; } | undefined; continuationImport?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; } | undefined; spinoffCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; } | undefined; imitationCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; } | undefined; draftStructure?: { instruction: string; projectId?: string | undefined; } | undefined; connectChoice?: { node: { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title: string; sceneDesc: string; dialogue: { text: string; speaker: string; emotion: string; }[]; choices: { id: string; text: string; targetNodeId: string; effects: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[]; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[]; act: string; imageSlot?: { prompt: string; assetRef?: string | undefined; } | undefined; position?: { x: number; y: number; } | undefined; }; projectId?: string | undefined; } | undefined; removeNode?: { nodeId: string; projectId?: string | undefined; } | undefined; }, { createBook?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; } | undefined; writeNext?: { chapterCount?: number | undefined; } | undefined; shortRun?: { title?: string | undefined; language?: "zh" | "en" | undefined; cover?: boolean | undefined; charsPerChapter?: number | undefined; chapters?: number | undefined; reference?: string | undefined; direction?: string | undefined; storyId?: string | undefined; } | undefined; playStart?: { title?: string | undefined; mode?: "open" | "guided" | undefined; suggestedActions?: string[] | undefined; premise?: string | undefined; worldContract?: string | undefined; visualContract?: string | undefined; initialScene?: string | undefined; } | undefined; generateCover?: { title?: string | undefined; outputDir?: string | undefined; intro?: string | undefined; sellingPoints?: string | undefined; coverPrompt?: string | undefined; } | undefined; scriptCreate?: { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; targetFormat?: "vertical_short_drama" | "screenplay" | "audio_drama" | "interactive_script" | "general_script" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; } | undefined; storyboardCreate?: { title?: string | undefined; granularity?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; outDir?: string | undefined; visualStyle?: string | undefined; aspectRatio?: string | undefined; maxShots?: number | undefined; } | undefined; interactiveFilmCreate?: { title?: string | undefined; projectId?: string | undefined; sourceKind?: string | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; requirements?: string | undefined; episodeCount?: number | undefined; episodeDuration?: string | undefined; outDir?: string | undefined; targetAudience?: string | undefined; budget?: string | undefined; referenceMode?: string | undefined; } | undefined; translationCreate?: { title?: string | undefined; filePath?: string | undefined; sourceLanguage?: string | undefined; targetLanguage?: string | undefined; segmentMaxChars?: number | undefined; } | undefined; fanficCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; mode?: "canon" | "au" | "ooc" | "cp" | undefined; sourceText?: string | undefined; sourcePath?: string | undefined; sourceName?: string | undefined; } | undefined; continuationImport?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; bookId?: string | undefined; sourcePath?: string | undefined; splitPattern?: string | undefined; resumeFrom?: number | undefined; } | undefined; spinoffCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; parentBookId?: string | undefined; direction?: string | undefined; } | undefined; imitationCreate?: { title?: string | undefined; platform?: "tomato" | "feilu" | "qidian" | "other" | undefined; genre?: string | undefined; targetChapters?: number | undefined; chapterWordCount?: number | undefined; language?: "zh" | "en" | undefined; sourceName?: string | undefined; referenceText?: string | undefined; referencePath?: string | undefined; storyIdea?: string | undefined; } | undefined; draftStructure?: { instruction?: string | undefined; projectId?: string | undefined; } | undefined; connectChoice?: { node: { type: "start" | "branch" | "ending" | "normal" | "merge" | "explore"; id: string; title?: string | undefined; sceneDesc?: string | undefined; dialogue?: { text: string; speaker: string; emotion?: string | undefined; }[] | undefined; choices?: { id: string; text: string; targetNodeId: string; condition?: { value: string | number | boolean; var: string; op: "<" | ">" | ">=" | "<=" | "==" | "!="; } | undefined; effects?: { value: string | number | boolean; var: string; op: "set" | "sub" | "add"; }[] | undefined; weight?: "light" | "heavy" | "critical" | undefined; }[] | undefined; imageSlot?: { prompt?: string | undefined; assetRef?: string | undefined; } | undefined; act?: string | undefined; position?: { x: number; y: number; } | undefined; }; projectId?: string | undefined; } | undefined; removeNode?: { nodeId: string; projectId?: string | undefined; } | undefined; }>; export type ActionPayload = z.infer; export declare function normalizeSkillIdList(value: unknown): string[]; export declare function normalizeActionSource(value: unknown): ActionSource; export declare function normalizeRequestedIntent(value: unknown): RequestedIntent | undefined; export declare function normalizeActionPayload(value: unknown): ActionPayload | undefined; export declare function normalizePlayMode(value: unknown): PlayMode | undefined; //# sourceMappingURL=action-envelope.d.ts.map