import { StateMachineOptions, GlobalState, AnyCallback, AnyActions, ActionsOutput } from './types'; export declare function createStore(defaultState: GlobalState, options?: StateMachineOptions): void; export declare function useStateMachine, TStore>({ actions, selector, }?: { actions?: TActions; selector?: ((payload: TStore) => TStore) | undefined; }): { actions: ActionsOutput; state: GlobalState; getState: () => GlobalState; };