import { getUseStoryStore } from "./game-state"; import { getUseSavedGamesStore } from "./saved-games"; import type { PluginRegistry, Settings } from "./types"; export declare const createPlugin: (plugin: (props: { settings: T; gameSettings: Settings; useStoryStore: ReturnType; useSavedGamesStore: ReturnType; }) => PluginRegistry | null) => (pluginSettings: T) => (gameSettings: Settings) => PluginRegistry | null; export declare const getPluginsByType: ((methodName: T) => Map>) & { cache: import("es-toolkit").MemoizeCache unknown) | ((data: unknown) => void) | ((props: { currentState: import("./types").GameState; location: "header" | "footer"; } | { input: Record; output?: Record; }) => string) | ((currentState: import("./types").GameState) => Array) | ((props: import("./types").PageProps) => React.ReactNode) | ((props: { context: "game" | "history" | "screen"; currentState: import("./types").GameState; transitionStatus: import("react-transition-state").TransitionStatus | undefined; }) => React.ReactNode) | ((props: { input: Record; context: "game" | "history" | "screen"; }) => React.ReactNode) | ((props: { context: "game" | "history"; input: Record; output?: Record; onCompletion: ({ output, variables, }: { output?: Record; variables?: Record; }) => void; autoFocus: boolean; disabled: boolean; }) => React.ReactNode) | ((props: { context: "game" | "history" | "screen"; currentState: import("./types").GameState; transitionStatus: import("react-transition-state").TransitionStatus | undefined; }) => React.ReactNode) | ((props: { context: "game" | "history" | "screen"; currentState: import("./types").GameState; transitionStatus: import("react-transition-state").TransitionStatus | undefined; }) => React.ReactNode) | ((props: import("./types").PageProps) => React.ReactNode) | (() => Promise) | ((props: { currentState: import("./types").GameState; }) => string | null) | ((props: { line: string; context: "game" | "history" | "choice" | "history-choice" | "screen"; }) => string) | ((props: { children: React.ReactNode; context: "game" | "history" | "choice" | "history-choice" | "screen"; }) => React.ReactNode) | ((props: { story: import("inkjs").Story; }) => void) | undefined>>>; };