import { RecursivePartial, StoreSettable, Store } from '@zedux/core'; import { MachineStateShape } from './types'; /** * An extremely low-level Store class that represents a state machine. Don't * create this class yourself, use a helper such as @zedux/machine's * `injectMachineStore()` */ export declare class MachineStore | undefined = undefined> extends Store> { readonly states: Record boolean; }>>; private readonly guard?; constructor(initialState: StateNames, states: Record boolean; }>>, initialContext?: Context, guard?: ((currentState: MachineStateShape, nextValue: StateNames) => boolean) | undefined); getContext: () => Context; getValue: () => StateNames; is: (stateName: StateNames) => boolean; send: (eventName: EventNames, meta?: any) => MachineStateShape; setContext: (context: StoreSettable, meta?: any) => MachineStateShape; setContextDeep: (partialContext: StoreSettable, Context>, meta?: any) => MachineStateShape; }