@momoyu-ink/kit 0.6.1 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactElement, Component, ForwardRefExoticComponent, CSSProperties, FC, ComponentType } from 'react';
3
- import { M as MouseEvent, a as MoyuEvent, C as Command, b as MaybePromise, J as JSX } from './jsx-dev-runtime-CFlTWFj5.mjs';
4
- export { A as AudioCommand, c as AudioSettings, B as BubbleEvent, D as DetailedMoyuProps, E as EffectParams, G as GamepadCommand, K as KeyboardEvent, d as KeyboardEventKind, e as MakeNullOptional, f as MouseEventKind, g as MoyuAnimationAttributes, h as MoyuBackdropAttributes, i as MoyuClipAttributes, j as MoyuContainerAttributes, k as MoyuEventHandler, l as MoyuFilterAttributes, m as MoyuListenerAttributes, n as MoyuNodeAttributes, o as MoyuSpriteAttributes, p as MoyuTextAttributes, q as MoyuVideoAttributes, N as Node, S as ScenarioCommand, r as SystemCommand, T as TextCommand, s as TouchEvent, t as TouchEventKind, u as Tuple2, v as Tuple3, w as Tuple4, W as WindowState, x as createBubbleEvent, y as getStageSize } from './jsx-dev-runtime-CFlTWFj5.mjs';
3
+ import { M as MouseEvent, a as MoyuEvent, C as Command, b as MaybePromise, J as JSX, c as JsonValue } from './jsx-dev-runtime-CKclO27C.mjs';
4
+ export { A as AudioCommand, d as AudioSettings, B as BubbleEvent, D as DetailedMoyuProps, E as EffectParams, G as GamepadCommand, K as KeyboardEvent, e as KeyboardEventKind, f as MakeNullOptional, g as MouseEventKind, h as MoyuAnimationAttributes, i as MoyuBackdropAttributes, j as MoyuClipAttributes, k as MoyuContainerAttributes, l as MoyuEventHandler, m as MoyuFilterAttributes, n as MoyuListenerAttributes, o as MoyuNodeAttributes, p as MoyuSpriteAttributes, q as MoyuTextAttributes, r as MoyuVideoAttributes, N as Node, S as ScenarioCommand, s as SystemCommand, T as TextCommand, t as TouchEvent, u as TouchEventKind, v as Tuple2, w as Tuple3, x as Tuple4, W as WindowState, y as createBubbleEvent, z as getStageSize } from './jsx-dev-runtime-CKclO27C.mjs';
5
5
  import { FluidValue } from '@react-spring/shared';
6
6
  import { ElementType, AssignableKeys, ComponentPropsWithRef } from '@react-spring/types';
7
7
  import { Snapshot } from 'valtio';
@@ -358,6 +358,7 @@ declare const PageParamsContext: react.Context<Record<string, any> | undefined>;
358
358
  * Used to provide params to overlay components via React tree
359
359
  */
360
360
  declare const OverlayParamsContext: react.Context<Record<string, any> | undefined>;
361
+ declare const DEBUG_EMPTY_PAGE = "debug-empty";
361
362
  /**
362
363
  * Placeholder for global navigation types.
363
364
  * Projects can augment this interface to provide type safety for the global navigator.
@@ -415,6 +416,10 @@ interface Navigator<PageName extends string = DefaultPageName, OverlayName exten
415
416
  * Check whether a page exists in the navigator configuration.
416
417
  */
417
418
  hasPage: (page: string) => boolean;
419
+ /**
420
+ * Check whether an overlay exists in the navigator configuration.
421
+ */
422
+ hasOverlay: (overlay: string) => boolean;
418
423
  /**
419
424
  * Go back to the previous page (not implemented yet)
420
425
  */
@@ -672,8 +677,10 @@ interface AppStateAdapter<TState = unknown> {
672
677
  capture(): TState | Promise<TState>;
673
678
  restore(state: TState): void | Promise<void>;
674
679
  switchPage?(page: string, params?: Record<string, unknown>): void | Promise<void>;
680
+ switchOverlay?(overlay: string, params?: Record<string, unknown>): void | Promise<void>;
675
681
  enterFastForwardMode?(options?: FastForwardOptions): void | Promise<void>;
676
682
  exitFastForwardMode?(): void | Promise<void>;
683
+ restartStoryFromHead?(options: DebugStoryStartOptions): void | Promise<void>;
677
684
  restartCurrentStoryFromHead?(): void | Promise<void>;
678
685
  }
679
686
  type CombinedCheckpoint<TState = unknown> = {
@@ -685,12 +692,19 @@ interface DebugSessionConfig {
685
692
  onError?: (error: unknown) => void | Promise<void>;
686
693
  }
687
694
  interface DebugSessionController {
688
- restoreCheckpoint(markerId: string): Promise<boolean>;
695
+ restoreCheckpoint(markerId: string, options?: DebugJumpTargetOptions): Promise<boolean>;
689
696
  warp(options: DebugWarpOptions): Promise<void>;
690
- switchPage(page: string, params?: Record<string, unknown>): Promise<void>;
697
+ switchRoute(routeName: string, params?: Record<string, unknown>): Promise<void>;
698
+ }
699
+ interface DebugStoryStartOptions {
700
+ story: string;
701
+ entry?: string;
702
+ }
703
+ interface DebugJumpTargetOptions {
704
+ story?: string;
691
705
  }
692
706
  type DebugWarpBoundary = 'before' | 'after';
693
- interface DebugWarpOptions {
707
+ interface DebugWarpOptions extends DebugJumpTargetOptions {
694
708
  markerId: string;
695
709
  boundary?: DebugWarpBoundary;
696
710
  }
@@ -701,9 +715,9 @@ declare function stopDebugSession(): Promise<void>;
701
715
  declare function useDebugSession(): {
702
716
  startDebugSession: typeof startDebugSession;
703
717
  stopDebugSession: typeof stopDebugSession;
704
- restoreCheckpoint: (markerId: string) => Promise<boolean>;
718
+ restoreCheckpoint: (markerId: string, options?: DebugJumpTargetOptions) => Promise<boolean>;
705
719
  warp: (options: DebugWarpOptions) => Promise<void>;
706
- switchPage: (page: string, params?: Record<string, unknown>) => Promise<void>;
720
+ switchRoute: (routeName: string, params?: Record<string, unknown>) => Promise<void>;
707
721
  active: boolean;
708
722
  checkpoints: {
709
723
  readonly [x: string]: {
@@ -720,6 +734,7 @@ declare function useDebugSession(): {
720
734
  readonly paragraph: string;
721
735
  readonly markerId?: string | undefined;
722
736
  } | null;
737
+ currentStory: string | null;
723
738
  restoring: boolean;
724
739
  lastError: string | null;
725
740
  };
@@ -761,7 +776,32 @@ declare function useScenario(stories: string[], startName?: string, entryName?:
761
776
  /**
762
777
  * Used to load a sound effect and provide a function to play it.
763
778
  */
764
- declare function useSoundEffect(src: string): () => void;
779
+ declare function useSoundEffect(src?: string): () => void;
780
+
781
+ type UiDocument = Record<string, unknown>;
782
+ type UiSchema<TUiDocument extends UiDocument> = ZodType<TUiDocument>;
783
+ interface RootUiDataMap {
784
+ __uiDataBrand__?: never;
785
+ }
786
+ type RootUiDataKeys = Exclude<keyof RootUiDataMap, '__uiDataBrand__'>;
787
+ type ResolvedUiDataMap = RootUiDataKeys extends never ? Record<string, unknown> : Omit<RootUiDataMap, '__uiDataBrand__'>;
788
+ type UiDataName = Extract<keyof ResolvedUiDataMap, string>;
789
+ declare function initUiData<TUiDocument extends UiDocument>(schema: UiSchema<TUiDocument>): Promise<void>;
790
+ declare function replaceUiData(rawData: unknown): void;
791
+ declare function getUiData<Name extends UiDataName>(name: Name): ResolvedUiDataMap[Name];
792
+ declare function useUiData<Name extends UiDataName>(name: Name): ResolvedUiDataMap[Name];
793
+
794
+ type VariableDefinition = {
795
+ id: string;
796
+ defaultValue: JsonValue;
797
+ };
798
+ type VariablesDocument = {
799
+ archive: VariableDefinition[];
800
+ global: VariableDefinition[];
801
+ };
802
+ declare function loadVariablesDocument(): Promise<VariablesDocument | null>;
803
+ declare function initGlobalVariableDefaults(): Promise<void>;
804
+ declare function ensureArchiveVariableDefaults(): Promise<void>;
765
805
 
766
806
  declare module 'zod' {
767
807
  interface GlobalMeta {
@@ -773,4 +813,4 @@ declare module 'zod' {
773
813
  }
774
814
  }
775
815
 
776
- export { type AnimatedComponent, type AnimatedProps, type AnimationFrameCallbackEvent, type AppStateAdapter, type AutoTicketHandle, type AutoTicketOptions, type BeforeUnloadEvent, type CombinedCheckpoint, Command, type CommandHandler, type CustomEvent, type DebugSessionConfig, type DebugSessionController, type DebugWarpBoundary, type DebugWarpOptions, type DefaultOverlayName, type DefaultPageName, type FastForwardOptions, type FocusEvent, type FocusEventKind, type FullScreenEvent, type FullscreenEventKind, type GameControl, type GameEvent, type Gamepad, type GamepadButton, type GamepadEvent, type GamepadHapticActuator, JSX, type KeyboardLocation, type Literal, MaybePromise, MouseEvent, MoyuEvent, type NavigationState, type Navigator, type NodeEvent, type OverlayConfig, type OverlayDescriptor, type OverlayInfo, OverlayParamsContext, type PageConfig, type PageDescriptor, PageParamsContext, type RegisterNavigator, type ResizeEvent, type ResolvedArgument, type ResolvedCommandLine, type ResolvedSystemCallLine, type RootErrorInfo, type RootHandle, type RootNavigatorList, type RootOptions, type RootUncaughtErrorInfo, type ScenarioCommandBaseType, type ScenarioEvent, type StackNavigatorOptions, StageContextProvider, type StageInstance, type TextLine, type TextLineHandler, type WheelEvent, type WheelEventDeltaMode, type WithAnimated, animated as a, addEventListener, animated, autoState, createRoot, createStackNavigator, createStage, createStaticNavigation, executeNodeCommand, executePluginCommand, fastForwardState, getAppStateAdapter, getNavigator, getSeekingType, globalEventListeners, globalRequestAnimationFrameListeners, moyu, nextLine, registerAppStateAdapter, setDefaultAutoTailMs, setWaiting, skipState, startDebugSession, startRuntimeDebugSession, stopDebugSession, stopRuntimeDebugSession, useAutoBlocker, useAutoTicket, useBeforeHandleCommandCallback, useDebugSession, useFadeIn, useFadeInOut, useFadeOut, useInterruptCallback, useIsAutoing, useIsSeeking, useIsSkipping, useNavigation, useNavigationParams, useNavigationState, useScenario, useSkipBlocker, useSkipCallback, useSoundEffect, useStageContext, warpState };
816
+ export { type AnimatedComponent, type AnimatedProps, type AnimationFrameCallbackEvent, type AppStateAdapter, type AutoTicketHandle, type AutoTicketOptions, type BeforeUnloadEvent, type CombinedCheckpoint, Command, type CommandHandler, type CustomEvent, DEBUG_EMPTY_PAGE, type DebugSessionConfig, type DebugSessionController, type DebugWarpBoundary, type DebugWarpOptions, type DefaultOverlayName, type DefaultPageName, type FastForwardOptions, type FocusEvent, type FocusEventKind, type FullScreenEvent, type FullscreenEventKind, type GameControl, type GameEvent, type Gamepad, type GamepadButton, type GamepadEvent, type GamepadHapticActuator, JSX, type KeyboardLocation, type Literal, MaybePromise, MouseEvent, MoyuEvent, type NavigationState, type Navigator, type NodeEvent, type OverlayConfig, type OverlayDescriptor, type OverlayInfo, OverlayParamsContext, type PageConfig, type PageDescriptor, PageParamsContext, type RegisterNavigator, type ResizeEvent, type ResolvedArgument, type ResolvedCommandLine, type ResolvedSystemCallLine, type RootErrorInfo, type RootHandle, type RootNavigatorList, type RootOptions, type RootUiDataMap, type RootUncaughtErrorInfo, type ScenarioCommandBaseType, type ScenarioEvent, type StackNavigatorOptions, StageContextProvider, type StageInstance, type TextLine, type TextLineHandler, type WheelEvent, type WheelEventDeltaMode, type WithAnimated, animated as a, addEventListener, animated, autoState, createRoot, createStackNavigator, createStage, createStaticNavigation, ensureArchiveVariableDefaults, executeNodeCommand, executePluginCommand, fastForwardState, getAppStateAdapter, getNavigator, getSeekingType, getUiData, globalEventListeners, globalRequestAnimationFrameListeners, initGlobalVariableDefaults, initUiData, loadVariablesDocument, moyu, nextLine, registerAppStateAdapter, replaceUiData, setDefaultAutoTailMs, setWaiting, skipState, startDebugSession, startRuntimeDebugSession, stopDebugSession, stopRuntimeDebugSession, useAutoBlocker, useAutoTicket, useBeforeHandleCommandCallback, useDebugSession, useFadeIn, useFadeInOut, useFadeOut, useInterruptCallback, useIsAutoing, useIsSeeking, useIsSkipping, useNavigation, useNavigationParams, useNavigationState, useScenario, useSkipBlocker, useSkipCallback, useSoundEffect, useStageContext, useUiData, warpState };
package/dist/lib.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactElement, Component, ForwardRefExoticComponent, CSSProperties, FC, ComponentType } from 'react';
3
- import { M as MouseEvent, a as MoyuEvent, C as Command, b as MaybePromise, J as JSX } from './jsx-dev-runtime-CFlTWFj5.js';
4
- export { A as AudioCommand, c as AudioSettings, B as BubbleEvent, D as DetailedMoyuProps, E as EffectParams, G as GamepadCommand, K as KeyboardEvent, d as KeyboardEventKind, e as MakeNullOptional, f as MouseEventKind, g as MoyuAnimationAttributes, h as MoyuBackdropAttributes, i as MoyuClipAttributes, j as MoyuContainerAttributes, k as MoyuEventHandler, l as MoyuFilterAttributes, m as MoyuListenerAttributes, n as MoyuNodeAttributes, o as MoyuSpriteAttributes, p as MoyuTextAttributes, q as MoyuVideoAttributes, N as Node, S as ScenarioCommand, r as SystemCommand, T as TextCommand, s as TouchEvent, t as TouchEventKind, u as Tuple2, v as Tuple3, w as Tuple4, W as WindowState, x as createBubbleEvent, y as getStageSize } from './jsx-dev-runtime-CFlTWFj5.js';
3
+ import { M as MouseEvent, a as MoyuEvent, C as Command, b as MaybePromise, J as JSX, c as JsonValue } from './jsx-dev-runtime-CKclO27C.js';
4
+ export { A as AudioCommand, d as AudioSettings, B as BubbleEvent, D as DetailedMoyuProps, E as EffectParams, G as GamepadCommand, K as KeyboardEvent, e as KeyboardEventKind, f as MakeNullOptional, g as MouseEventKind, h as MoyuAnimationAttributes, i as MoyuBackdropAttributes, j as MoyuClipAttributes, k as MoyuContainerAttributes, l as MoyuEventHandler, m as MoyuFilterAttributes, n as MoyuListenerAttributes, o as MoyuNodeAttributes, p as MoyuSpriteAttributes, q as MoyuTextAttributes, r as MoyuVideoAttributes, N as Node, S as ScenarioCommand, s as SystemCommand, T as TextCommand, t as TouchEvent, u as TouchEventKind, v as Tuple2, w as Tuple3, x as Tuple4, W as WindowState, y as createBubbleEvent, z as getStageSize } from './jsx-dev-runtime-CKclO27C.js';
5
5
  import { FluidValue } from '@react-spring/shared';
6
6
  import { ElementType, AssignableKeys, ComponentPropsWithRef } from '@react-spring/types';
7
7
  import { Snapshot } from 'valtio';
@@ -358,6 +358,7 @@ declare const PageParamsContext: react.Context<Record<string, any> | undefined>;
358
358
  * Used to provide params to overlay components via React tree
359
359
  */
360
360
  declare const OverlayParamsContext: react.Context<Record<string, any> | undefined>;
361
+ declare const DEBUG_EMPTY_PAGE = "debug-empty";
361
362
  /**
362
363
  * Placeholder for global navigation types.
363
364
  * Projects can augment this interface to provide type safety for the global navigator.
@@ -415,6 +416,10 @@ interface Navigator<PageName extends string = DefaultPageName, OverlayName exten
415
416
  * Check whether a page exists in the navigator configuration.
416
417
  */
417
418
  hasPage: (page: string) => boolean;
419
+ /**
420
+ * Check whether an overlay exists in the navigator configuration.
421
+ */
422
+ hasOverlay: (overlay: string) => boolean;
418
423
  /**
419
424
  * Go back to the previous page (not implemented yet)
420
425
  */
@@ -672,8 +677,10 @@ interface AppStateAdapter<TState = unknown> {
672
677
  capture(): TState | Promise<TState>;
673
678
  restore(state: TState): void | Promise<void>;
674
679
  switchPage?(page: string, params?: Record<string, unknown>): void | Promise<void>;
680
+ switchOverlay?(overlay: string, params?: Record<string, unknown>): void | Promise<void>;
675
681
  enterFastForwardMode?(options?: FastForwardOptions): void | Promise<void>;
676
682
  exitFastForwardMode?(): void | Promise<void>;
683
+ restartStoryFromHead?(options: DebugStoryStartOptions): void | Promise<void>;
677
684
  restartCurrentStoryFromHead?(): void | Promise<void>;
678
685
  }
679
686
  type CombinedCheckpoint<TState = unknown> = {
@@ -685,12 +692,19 @@ interface DebugSessionConfig {
685
692
  onError?: (error: unknown) => void | Promise<void>;
686
693
  }
687
694
  interface DebugSessionController {
688
- restoreCheckpoint(markerId: string): Promise<boolean>;
695
+ restoreCheckpoint(markerId: string, options?: DebugJumpTargetOptions): Promise<boolean>;
689
696
  warp(options: DebugWarpOptions): Promise<void>;
690
- switchPage(page: string, params?: Record<string, unknown>): Promise<void>;
697
+ switchRoute(routeName: string, params?: Record<string, unknown>): Promise<void>;
698
+ }
699
+ interface DebugStoryStartOptions {
700
+ story: string;
701
+ entry?: string;
702
+ }
703
+ interface DebugJumpTargetOptions {
704
+ story?: string;
691
705
  }
692
706
  type DebugWarpBoundary = 'before' | 'after';
693
- interface DebugWarpOptions {
707
+ interface DebugWarpOptions extends DebugJumpTargetOptions {
694
708
  markerId: string;
695
709
  boundary?: DebugWarpBoundary;
696
710
  }
@@ -701,9 +715,9 @@ declare function stopDebugSession(): Promise<void>;
701
715
  declare function useDebugSession(): {
702
716
  startDebugSession: typeof startDebugSession;
703
717
  stopDebugSession: typeof stopDebugSession;
704
- restoreCheckpoint: (markerId: string) => Promise<boolean>;
718
+ restoreCheckpoint: (markerId: string, options?: DebugJumpTargetOptions) => Promise<boolean>;
705
719
  warp: (options: DebugWarpOptions) => Promise<void>;
706
- switchPage: (page: string, params?: Record<string, unknown>) => Promise<void>;
720
+ switchRoute: (routeName: string, params?: Record<string, unknown>) => Promise<void>;
707
721
  active: boolean;
708
722
  checkpoints: {
709
723
  readonly [x: string]: {
@@ -720,6 +734,7 @@ declare function useDebugSession(): {
720
734
  readonly paragraph: string;
721
735
  readonly markerId?: string | undefined;
722
736
  } | null;
737
+ currentStory: string | null;
723
738
  restoring: boolean;
724
739
  lastError: string | null;
725
740
  };
@@ -761,7 +776,32 @@ declare function useScenario(stories: string[], startName?: string, entryName?:
761
776
  /**
762
777
  * Used to load a sound effect and provide a function to play it.
763
778
  */
764
- declare function useSoundEffect(src: string): () => void;
779
+ declare function useSoundEffect(src?: string): () => void;
780
+
781
+ type UiDocument = Record<string, unknown>;
782
+ type UiSchema<TUiDocument extends UiDocument> = ZodType<TUiDocument>;
783
+ interface RootUiDataMap {
784
+ __uiDataBrand__?: never;
785
+ }
786
+ type RootUiDataKeys = Exclude<keyof RootUiDataMap, '__uiDataBrand__'>;
787
+ type ResolvedUiDataMap = RootUiDataKeys extends never ? Record<string, unknown> : Omit<RootUiDataMap, '__uiDataBrand__'>;
788
+ type UiDataName = Extract<keyof ResolvedUiDataMap, string>;
789
+ declare function initUiData<TUiDocument extends UiDocument>(schema: UiSchema<TUiDocument>): Promise<void>;
790
+ declare function replaceUiData(rawData: unknown): void;
791
+ declare function getUiData<Name extends UiDataName>(name: Name): ResolvedUiDataMap[Name];
792
+ declare function useUiData<Name extends UiDataName>(name: Name): ResolvedUiDataMap[Name];
793
+
794
+ type VariableDefinition = {
795
+ id: string;
796
+ defaultValue: JsonValue;
797
+ };
798
+ type VariablesDocument = {
799
+ archive: VariableDefinition[];
800
+ global: VariableDefinition[];
801
+ };
802
+ declare function loadVariablesDocument(): Promise<VariablesDocument | null>;
803
+ declare function initGlobalVariableDefaults(): Promise<void>;
804
+ declare function ensureArchiveVariableDefaults(): Promise<void>;
765
805
 
766
806
  declare module 'zod' {
767
807
  interface GlobalMeta {
@@ -773,4 +813,4 @@ declare module 'zod' {
773
813
  }
774
814
  }
775
815
 
776
- export { type AnimatedComponent, type AnimatedProps, type AnimationFrameCallbackEvent, type AppStateAdapter, type AutoTicketHandle, type AutoTicketOptions, type BeforeUnloadEvent, type CombinedCheckpoint, Command, type CommandHandler, type CustomEvent, type DebugSessionConfig, type DebugSessionController, type DebugWarpBoundary, type DebugWarpOptions, type DefaultOverlayName, type DefaultPageName, type FastForwardOptions, type FocusEvent, type FocusEventKind, type FullScreenEvent, type FullscreenEventKind, type GameControl, type GameEvent, type Gamepad, type GamepadButton, type GamepadEvent, type GamepadHapticActuator, JSX, type KeyboardLocation, type Literal, MaybePromise, MouseEvent, MoyuEvent, type NavigationState, type Navigator, type NodeEvent, type OverlayConfig, type OverlayDescriptor, type OverlayInfo, OverlayParamsContext, type PageConfig, type PageDescriptor, PageParamsContext, type RegisterNavigator, type ResizeEvent, type ResolvedArgument, type ResolvedCommandLine, type ResolvedSystemCallLine, type RootErrorInfo, type RootHandle, type RootNavigatorList, type RootOptions, type RootUncaughtErrorInfo, type ScenarioCommandBaseType, type ScenarioEvent, type StackNavigatorOptions, StageContextProvider, type StageInstance, type TextLine, type TextLineHandler, type WheelEvent, type WheelEventDeltaMode, type WithAnimated, animated as a, addEventListener, animated, autoState, createRoot, createStackNavigator, createStage, createStaticNavigation, executeNodeCommand, executePluginCommand, fastForwardState, getAppStateAdapter, getNavigator, getSeekingType, globalEventListeners, globalRequestAnimationFrameListeners, moyu, nextLine, registerAppStateAdapter, setDefaultAutoTailMs, setWaiting, skipState, startDebugSession, startRuntimeDebugSession, stopDebugSession, stopRuntimeDebugSession, useAutoBlocker, useAutoTicket, useBeforeHandleCommandCallback, useDebugSession, useFadeIn, useFadeInOut, useFadeOut, useInterruptCallback, useIsAutoing, useIsSeeking, useIsSkipping, useNavigation, useNavigationParams, useNavigationState, useScenario, useSkipBlocker, useSkipCallback, useSoundEffect, useStageContext, warpState };
816
+ export { type AnimatedComponent, type AnimatedProps, type AnimationFrameCallbackEvent, type AppStateAdapter, type AutoTicketHandle, type AutoTicketOptions, type BeforeUnloadEvent, type CombinedCheckpoint, Command, type CommandHandler, type CustomEvent, DEBUG_EMPTY_PAGE, type DebugSessionConfig, type DebugSessionController, type DebugWarpBoundary, type DebugWarpOptions, type DefaultOverlayName, type DefaultPageName, type FastForwardOptions, type FocusEvent, type FocusEventKind, type FullScreenEvent, type FullscreenEventKind, type GameControl, type GameEvent, type Gamepad, type GamepadButton, type GamepadEvent, type GamepadHapticActuator, JSX, type KeyboardLocation, type Literal, MaybePromise, MouseEvent, MoyuEvent, type NavigationState, type Navigator, type NodeEvent, type OverlayConfig, type OverlayDescriptor, type OverlayInfo, OverlayParamsContext, type PageConfig, type PageDescriptor, PageParamsContext, type RegisterNavigator, type ResizeEvent, type ResolvedArgument, type ResolvedCommandLine, type ResolvedSystemCallLine, type RootErrorInfo, type RootHandle, type RootNavigatorList, type RootOptions, type RootUiDataMap, type RootUncaughtErrorInfo, type ScenarioCommandBaseType, type ScenarioEvent, type StackNavigatorOptions, StageContextProvider, type StageInstance, type TextLine, type TextLineHandler, type WheelEvent, type WheelEventDeltaMode, type WithAnimated, animated as a, addEventListener, animated, autoState, createRoot, createStackNavigator, createStage, createStaticNavigation, ensureArchiveVariableDefaults, executeNodeCommand, executePluginCommand, fastForwardState, getAppStateAdapter, getNavigator, getSeekingType, getUiData, globalEventListeners, globalRequestAnimationFrameListeners, initGlobalVariableDefaults, initUiData, loadVariablesDocument, moyu, nextLine, registerAppStateAdapter, replaceUiData, setDefaultAutoTailMs, setWaiting, skipState, startDebugSession, startRuntimeDebugSession, stopDebugSession, stopRuntimeDebugSession, useAutoBlocker, useAutoTicket, useBeforeHandleCommandCallback, useDebugSession, useFadeIn, useFadeInOut, useFadeOut, useInterruptCallback, useIsAutoing, useIsSeeking, useIsSkipping, useNavigation, useNavigationParams, useNavigationState, useScenario, useSkipBlocker, useSkipCallback, useSoundEffect, useStageContext, useUiData, warpState };