UNPKG

dmeditor

Version:

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

33 lines (32 loc) 1.2 kB
/** Global parameters to simulate location */ export declare const useGlobalVars: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<{ vars: Record<string, any>; } & { initVars: (vars: Record<string, string>) => void; setVar: (key: string, v: any) => void; removeVar: (key: string) => void; resetVar: () => void; }>, "setState"> & { setState(nextStateOrUpdater: ({ vars: Record<string, any>; } & { initVars: (vars: Record<string, string>) => void; setVar: (key: string, v: any) => void; removeVar: (key: string) => void; resetVar: () => void; }) | Partial<{ vars: Record<string, any>; } & { initVars: (vars: Record<string, string>) => void; setVar: (key: string, v: any) => void; removeVar: (key: string) => void; resetVar: () => void; }> | ((state: import("immer").WritableDraft<{ vars: Record<string, any>; } & { initVars: (vars: Record<string, string>) => void; setVar: (key: string, v: any) => void; removeVar: (key: string) => void; resetVar: () => void; }>) => void), shouldReplace?: boolean | undefined): void; }>;