UNPKG

dmeditor

Version:

dmeditor is a block-style visual editor. Data is in json format.

28 lines (27 loc) 1.23 kB
import type { Actions, AddBlockParameters, Store } from './types'; import { useGlobalVars } from './useGlobalVars'; import { useSettingStatus } from './useSettingStatus'; export declare const useEditorStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<Store & Actions>, "setState"> & { setState(nextStateOrUpdater: (Store & Actions) | Partial<Store & Actions> | ((state: import("immer").WritableDraft<Store & Actions>) => void), shouldReplace?: boolean | undefined): void; }>; export declare const useWidgetSettingStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<{ mainLoaded: boolean; } & { setMainLoaded: (loaded: boolean) => void; }>, "setState"> & { setState(nextStateOrUpdater: ({ mainLoaded: boolean; } & { setMainLoaded: (loaded: boolean) => void; }) | Partial<{ mainLoaded: boolean; } & { setMainLoaded: (loaded: boolean) => void; }> | ((state: import("immer").WritableDraft<{ mainLoaded: boolean; } & { setMainLoaded: (loaded: boolean) => void; }>) => void), shouldReplace?: boolean | undefined): void; }>; export { useGlobalVars, useSettingStatus }; export type { AddBlockParameters };