import { EventObject, StateMachine, InterpreterOptions, MachineOptions, Typestate, State } from 'xstate'; import type { Getter } from 'jotai'; export declare function atomWithMachine = { value: any; context: TContext; }>(getMachine: StateMachine | ((get: Getter) => StateMachine), options?: Partial & Partial>): import("jotai").WritableAtom, import("xstate").SCXML.Event | import("xstate").SingleOrArray>>;