import { StoreApi, UseBoundStore } from 'zustand'; interface RuntimeState { /** 当前页面 ID */ currentPageId: string | null; /** 页面配置缓存 */ pageConfigs: Record; /** 加载状态 */ loading: boolean; /** 错误信息 */ error: string | null; setCurrentPage: (pageId: string) => void; setPageConfig: (pageId: string, config: any) => void; setLoading: (loading: boolean) => void; setError: (error: string | null) => void; clearCache: () => void; } export declare const useRuntimeStore: UseBoundStore>; export default useRuntimeStore;