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