import { type Spawner } from "https://deno.land/x/xstate@xstate@5.9.1/src/spawn.ts";
Type Parameters
TActor extends ProvidedActor
definition: IsLiteralString<TActor["src"]> extends true ? <TSrc extends TActor["src"]>(logic: TSrc, ...unnamed 1: SpawnOptions<TActor, TSrc>) => ActorRefFrom<GetConcreteLogic<TActor, TSrc>> : <TLogic extends AnyActorLogic | string>(src: TLogic, options?: { id?: string; systemId?: string; input?: TLogic extends string ? unknown : InputFrom<TLogic>; syncSnapshot?: boolean; }) => TLogic extends string ? AnyActorRef : ActorRefFrom<TLogic>