import { ActionArgs, AnyActorRef, EventObject, MachineContext, ParameterizedObject } from "../types.js"; type ResolvableActorRef = string | AnyActorRef | ((args: ActionArgs, params: TParams) => AnyActorRef | string); export interface StopAction { (args: ActionArgs, params: TParams): void; } /** * Stops a child actor. * * @param actorRef The actor to stop. */ export declare function stopChild(actorRef: ResolvableActorRef): StopAction; /** * Stops a child actor. * * @deprecated Use `stopChild(...)` instead */ export declare const stop: typeof stopChild; export {};