import { ActorRef, Behavior, EventObject } from 'xstate'; /** * React hook that spawns an `ActorRef` with the specified `behavior`. * The returned `ActorRef` can be used with the `useActor(actorRef)` hook. * * @param behavior The actor behavior to spawn * @returns An ActorRef with the specified `behavior` */ export declare function useSpawn(behavior: Behavior): ActorRef; //# sourceMappingURL=useSpawn.d.ts.map