import { ActionArgs, ActionFunction, DoNotInfer, EventObject, ExecutableActionObject, MachineContext, ParameterizedObject, RaiseActionOptions, SendExpr } from "../types.js"; export interface RaiseAction { (args: ActionArgs, params: TParams): void; _out_TEvent?: TEvent; _out_TDelay?: TDelay; } /** * Raises an event. This places the event in the internal event queue, so that * the event is immediately consumed by the machine in the current step. * * @param eventType The event to raise. */ export declare function raise(eventOrExpr: DoNotInfer | SendExpr, TEvent>, options?: RaiseActionOptions, TUsedDelay>): ActionFunction; export interface ExecutableRaiseAction extends ExecutableActionObject { type: 'xstate.raise'; params: { event: EventObject; id: string | undefined; delay: number | undefined; }; }