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