import { type Spawner } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/types.ts";
definition: <T extends ActorBehavior<any, any> | string>(behavior: T, options?: Partial<{ id: string; systemId?: string; input: any; }>) => T extends ActorBehavior<infer TActorEvent, infer TActorEmitted> ? ActorRef<TActorEvent, TActorEmitted> : ActorRef<any, any>