/** * Coffee Maker Machine - XState v5 native * * Simulates a coffee machine that processes orders one at a time. * Demonstrates the Mailbox pattern with async processing. */ export declare const State: { readonly idle: "idle"; readonly busy: "busy"; }; export declare const Type: { readonly MAKE_ME_COFFEE: "MAKE_ME_COFFEE"; readonly COFFEE: "COFFEE"; }; export declare const Event: { MAKE_ME_COFFEE: (customer: string) => { readonly type: "MAKE_ME_COFFEE"; readonly payload: { readonly customer: string; }; }; COFFEE: (customer: string) => { readonly type: "COFFEE"; readonly payload: { readonly customer: string; }; }; }; export interface Context { customer?: string; } export declare const initialContext: () => Context; export declare const DELAY_MS = 10; export declare const machine: import("xstate").StateMachine; declare const _default: { id: string; State: { readonly idle: "idle"; readonly busy: "busy"; }; Type: { readonly MAKE_ME_COFFEE: "MAKE_ME_COFFEE"; readonly COFFEE: "COFFEE"; }; Event: { MAKE_ME_COFFEE: (customer: string) => { readonly type: "MAKE_ME_COFFEE"; readonly payload: { readonly customer: string; }; }; COFFEE: (customer: string) => { readonly type: "COFFEE"; readonly payload: { readonly customer: string; }; }; }; initialContext: () => Context; machine: import("xstate").StateMachine; }; export default _default; //# sourceMappingURL=coffee-maker-machine.d.ts.map