import { b as Action, A as ActionId, d as ActionTree } from '../types-KA65ZTMd.mjs'; import * as React from 'react'; interface State { actions: ActionTree; rootActionId: ActionId | null; activeIndex: number; resultHandleEvent: boolean; } declare const useActionStore: (actions?: Action[]) => { useRegisterActions: (actions: Action[], dependencies?: React.DependencyList) => void; setRootActionId: (rootActionId: ActionId | null) => void; setActiveIndex: (cb: any) => void; setResultHandleEvent: (b: boolean) => void; state: State; }; type UseRegisterActions = (actions: Action[], dependencies?: React.DependencyList) => void; export { type UseRegisterActions, useActionStore };