import type { Story } from "inkjs"; import type { GameState, SavedGame } from "./types"; export declare const getUseStoryStore: (() => import("zustand").UseBoundStore Promise; loadSavedGame: (savedGame: SavedGame) => void; getSaveState: ({ title, id, }: { title: string; id?: string; }) => SavedGame | null; startNewGame: () => void; updateCurrentState: (currentState: GameState) => void; selectChoice: ({ index, output, variables, }: { index: number; output?: Record; variables?: Record; }) => { gameState: GameState[]; story: Story; error: string | null; } | null; back: () => void; }>>) & { cache: import("es-toolkit").MemoizeCache Promise; loadSavedGame: (savedGame: SavedGame) => void; getSaveState: ({ title, id, }: { title: string; id?: string; }) => SavedGame | null; startNewGame: () => void; updateCurrentState: (currentState: GameState) => void; selectChoice: ({ index, output, variables, }: { index: number; output?: Record; variables?: Record; }) => { gameState: GameState[]; story: Story; error: string | null; } | null; back: () => void; }>>>; };