/** * Nested Mailbox Machine - XState v5 native * * Demonstrates nested mailbox pattern where a parent machine * invokes a child mailbox and forwards events to it. */ import * as Mailbox from '../../src/mods/mod.js'; export declare const State: { readonly Idle: "nested-mailbox/Idle"; readonly Busy: "nested-mailbox/Busy"; }; export declare const Type: { readonly NEXT: "nested-mailbox/NEXT"; readonly COMPLETE: "nested-mailbox/COMPLETE"; }; export declare const Event: { NEXT: () => { readonly type: "nested-mailbox/NEXT"; }; COMPLETE: () => { readonly type: "nested-mailbox/COMPLETE"; }; }; export declare const childMachine: import("xstate").StateMachine; export declare const parentMachine: import("xstate").StateMachine> | undefined; }, { src: "childMailbox"; logic: import("xstate").StateMachine; id: string | undefined; }, { type: "forwardToChild"; params: import("xstate").NonReducibleUnknown; }, never, never, "nested-mailbox/Idle" | "nested-mailbox/Busy", string, import("xstate").NonReducibleUnknown, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, { id: "Parent"; states: { readonly "nested-mailbox/Idle": {}; readonly "nested-mailbox/Busy": {}; }; }>; declare const _default: { id: string; State: { readonly Idle: "nested-mailbox/Idle"; readonly Busy: "nested-mailbox/Busy"; }; Type: { readonly NEXT: "nested-mailbox/NEXT"; readonly COMPLETE: "nested-mailbox/COMPLETE"; }; Event: { NEXT: () => { readonly type: "nested-mailbox/NEXT"; }; COMPLETE: () => { readonly type: "nested-mailbox/COMPLETE"; }; }; childMachine: import("xstate").StateMachine; parentMachine: import("xstate").StateMachine> | undefined; }, { src: "childMailbox"; logic: import("xstate").StateMachine; id: string | undefined; }, { type: "forwardToChild"; params: import("xstate").NonReducibleUnknown; }, never, never, "nested-mailbox/Idle" | "nested-mailbox/Busy", string, import("xstate").NonReducibleUnknown, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, { id: "Parent"; states: { readonly "nested-mailbox/Idle": {}; readonly "nested-mailbox/Busy": {}; }; }>; childMailbox: Mailbox.Interface; }; export default _default; //# sourceMappingURL=nested-mailbox-machine.d.ts.map