import { z } from "zod"; export declare const RuntimeStateLanguageSchema: z.ZodEnum<["zh", "en"]>; export type RuntimeStateLanguage = z.infer; export declare const StateManifestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; language: z.ZodEnum<["zh", "en"]>; lastAppliedChapter: z.ZodNumber; projectionVersion: z.ZodNumber; migrationWarnings: z.ZodDefault>; }, "strip", z.ZodTypeAny, { language: "zh" | "en"; schemaVersion: 2; lastAppliedChapter: number; projectionVersion: number; migrationWarnings: string[]; }, { language: "zh" | "en"; schemaVersion: 2; lastAppliedChapter: number; projectionVersion: number; migrationWarnings?: string[] | undefined; }>; export type StateManifest = z.infer; export declare const HookStatusSchema: z.ZodEnum<["open", "progressing", "deferred", "resolved"]>; export type HookStatus = z.infer; export declare const HookPayoffTimingSchema: z.ZodEnum<["immediate", "near-term", "mid-arc", "slow-burn", "endgame"]>; export type HookPayoffTiming = z.infer; export declare const HookRecordSchema: z.ZodObject<{ hookId: z.ZodString; startChapter: z.ZodNumber; type: z.ZodString; status: z.ZodEnum<["open", "progressing", "deferred", "resolved"]>; lastAdvancedChapter: z.ZodNumber; expectedPayoff: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>; export type HookRecord = z.infer; export declare const HooksStateSchema: z.ZodObject<{ hooks: z.ZodDefault; lastAdvancedChapter: z.ZodNumber; expectedPayoff: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { hooks: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }[]; }, { hooks?: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }[] | undefined; }>; export type HooksState = z.infer; export declare const ChapterSummaryRowSchema: z.ZodObject<{ chapter: z.ZodNumber; title: z.ZodString; characters: z.ZodDefault; events: z.ZodDefault; stateChanges: z.ZodDefault; hookActivity: z.ZodDefault; mood: z.ZodDefault; chapterType: z.ZodDefault; }, "strip", z.ZodTypeAny, { title: string; chapter: number; events: string; characters: string; stateChanges: string; hookActivity: string; mood: string; chapterType: string; }, { title: string; chapter: number; events?: string | undefined; characters?: string | undefined; stateChanges?: string | undefined; hookActivity?: string | undefined; mood?: string | undefined; chapterType?: string | undefined; }>; export type ChapterSummaryRow = z.infer; export declare const ChapterSummariesStateSchema: z.ZodObject<{ rows: z.ZodDefault; events: z.ZodDefault; stateChanges: z.ZodDefault; hookActivity: z.ZodDefault; mood: z.ZodDefault; chapterType: z.ZodDefault; }, "strip", z.ZodTypeAny, { title: string; chapter: number; events: string; characters: string; stateChanges: string; hookActivity: string; mood: string; chapterType: string; }, { title: string; chapter: number; events?: string | undefined; characters?: string | undefined; stateChanges?: string | undefined; hookActivity?: string | undefined; mood?: string | undefined; chapterType?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { rows: { title: string; chapter: number; events: string; characters: string; stateChanges: string; hookActivity: string; mood: string; chapterType: string; }[]; }, { rows?: { title: string; chapter: number; events?: string | undefined; characters?: string | undefined; stateChanges?: string | undefined; hookActivity?: string | undefined; mood?: string | undefined; chapterType?: string | undefined; }[] | undefined; }>; export type ChapterSummariesState = z.infer; export declare const CurrentStateFactSchema: z.ZodObject<{ subject: z.ZodString; predicate: z.ZodString; object: z.ZodString; validFromChapter: z.ZodNumber; validUntilChapter: z.ZodNullable; sourceChapter: z.ZodNumber; }, "strip", z.ZodTypeAny, { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }, { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }>; export type CurrentStateFact = z.infer; export declare const CurrentStateStateSchema: z.ZodObject<{ chapter: z.ZodNumber; facts: z.ZodDefault; sourceChapter: z.ZodNumber; }, "strip", z.ZodTypeAny, { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }, { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }>, "many">>; }, "strip", z.ZodTypeAny, { chapter: number; facts: { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }[]; }, { chapter: number; facts?: { object: string; subject: string; predicate: string; validFromChapter: number; validUntilChapter: number | null; sourceChapter: number; }[] | undefined; }>; export type CurrentStateState = z.infer; export declare const CurrentStatePatchSchema: z.ZodObject<{ currentLocation: z.ZodOptional; protagonistState: z.ZodOptional; currentGoal: z.ZodOptional; currentConstraint: z.ZodOptional; currentAlliances: z.ZodOptional; currentConflict: z.ZodOptional; }, "strip", z.ZodTypeAny, { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; }, { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; }>; export type CurrentStatePatch = z.infer; export declare const HookOpsSchema: z.ZodObject<{ upsert: z.ZodDefault; lastAdvancedChapter: z.ZodNumber; expectedPayoff: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>, "many">>; mention: z.ZodDefault>; resolve: z.ZodDefault>; defer: z.ZodDefault>; }, "strip", z.ZodTypeAny, { upsert: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }[]; mention: string[]; resolve: string[]; defer: string[]; }, { upsert?: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }[] | undefined; mention?: string[] | undefined; resolve?: string[] | undefined; defer?: string[] | undefined; }>; export type HookOps = z.infer; export declare const NewHookCandidateSchema: z.ZodObject<{ type: z.ZodString; expectedPayoff: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>; export type NewHookCandidate = z.infer; export declare const NumericalFactsSchema: z.ZodOptional>; export declare const RuntimeStateDeltaSchema: z.ZodObject<{ chapter: z.ZodNumber; currentStatePatch: z.ZodOptional; protagonistState: z.ZodOptional; currentGoal: z.ZodOptional; currentConstraint: z.ZodOptional; currentAlliances: z.ZodOptional; currentConflict: z.ZodOptional; }, "strip", z.ZodTypeAny, { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; }, { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; }>>; numericalFacts: z.ZodOptional>; hookOps: z.ZodDefault; lastAdvancedChapter: z.ZodNumber; expectedPayoff: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>, "many">>; mention: z.ZodDefault>; resolve: z.ZodDefault>; defer: z.ZodDefault>; }, "strip", z.ZodTypeAny, { upsert: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }[]; mention: string[]; resolve: string[]; defer: string[]; }, { upsert?: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }[] | undefined; mention?: string[] | undefined; resolve?: string[] | undefined; defer?: string[] | undefined; }>>; newHookCandidates: z.ZodDefault; payoffTiming: z.ZodOptional>; notes: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }, { type: string; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }>, "many">>; chapterSummary: z.ZodOptional; events: z.ZodDefault; stateChanges: z.ZodDefault; hookActivity: z.ZodDefault; mood: z.ZodDefault; chapterType: z.ZodDefault; }, "strip", z.ZodTypeAny, { title: string; chapter: number; events: string; characters: string; stateChanges: string; hookActivity: string; mood: string; chapterType: string; }, { title: string; chapter: number; events?: string | undefined; characters?: string | undefined; stateChanges?: string | undefined; hookActivity?: string | undefined; mood?: string | undefined; chapterType?: string | undefined; }>>; subplotOps: z.ZodDefault, "many">>; emotionalArcOps: z.ZodDefault, "many">>; characterMatrixOps: z.ZodDefault, "many">>; notes: z.ZodDefault>; }, "strip", z.ZodTypeAny, { chapter: number; notes: string[]; hookOps: { upsert: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }[]; mention: string[]; resolve: string[]; defer: string[]; }; newHookCandidates: { type: string; expectedPayoff: string; notes: string; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; }[]; subplotOps: Record[]; emotionalArcOps: Record[]; characterMatrixOps: Record[]; currentStatePatch?: { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; } | undefined; numericalFacts?: Record | undefined; chapterSummary?: { title: string; chapter: number; events: string; characters: string; stateChanges: string; hookActivity: string; mood: string; chapterType: string; } | undefined; }, { chapter: number; notes?: string[] | undefined; currentStatePatch?: { currentLocation?: string | undefined; protagonistState?: string | undefined; currentGoal?: string | undefined; currentConstraint?: string | undefined; currentAlliances?: string | undefined; currentConflict?: string | undefined; } | undefined; numericalFacts?: Record | undefined; hookOps?: { upsert?: { type: string; status: "open" | "progressing" | "resolved" | "deferred"; hookId: string; startChapter: number; lastAdvancedChapter: number; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }[] | undefined; mention?: string[] | undefined; resolve?: string[] | undefined; defer?: string[] | undefined; } | undefined; newHookCandidates?: { type: string; expectedPayoff?: string | undefined; payoffTiming?: "immediate" | "near-term" | "mid-arc" | "slow-burn" | "endgame" | undefined; notes?: string | undefined; }[] | undefined; chapterSummary?: { title: string; chapter: number; events?: string | undefined; characters?: string | undefined; stateChanges?: string | undefined; hookActivity?: string | undefined; mood?: string | undefined; chapterType?: string | undefined; } | undefined; subplotOps?: Record[] | undefined; emotionalArcOps?: Record[] | undefined; characterMatrixOps?: Record[] | undefined; }>; export type RuntimeStateDelta = z.infer; //# sourceMappingURL=runtime-state.d.ts.map