import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js"; import "./StateMachine-EDpYWy0i.js"; import { t as Manager } from "./Manager-CQQ99QOI.js"; import { t as EmptyConfig } from "./types-KPvmag_B.js"; //#region src/modules/home/types.d.ts type HomeConfig = EmptyConfig; //#endregion //#region src/modules/home/homeManager.d.ts type HomeIdleState = { status: 'idle'; }; type HomeMainState = { status: 'main'; }; type HomeFinishedState = { status: 'finished'; }; type HomeState = HomeIdleState | HomeMainState | HomeFinishedState; declare function createHomeManager(options?: { config?: HomeConfig; }): Manager & { load(): void; complete(): void; reset(): void; }; type HomeManager = ReturnType; //#endregion //#region src/modules/home/homeStateMachine.d.ts type HomeContext = { config: EmptyConfig; }; type HomeInput = { config: EmptyConfig; }; declare const homeMachine: StateMachine(logic: TSrc, ...[options]: never): ActorRefFromLogic; (src: TLogic, ...[options]: ConditionalRequired<[options?: ({ id?: never; systemId?: string; input?: InputFrom | undefined; syncSnapshot?: boolean; } & { [K in RequiredLogicInput]: unknown; }) | undefined], IsNotNever>>): ActorRefFromLogic; }; input: HomeInput; self: ActorRef, StateValue, string, unknown, any, any>, { type: "LOAD"; } | { type: "COMPLETE"; } | { type: "RESET"; }, AnyEventObject>; }) => { config: EmptyConfig; }; readonly states: { readonly idle: { readonly on: { readonly LOAD: { readonly target: "main"; }; }; }; readonly main: { readonly on: { readonly COMPLETE: { readonly target: "finished"; }; readonly RESET: { readonly target: "idle"; }; }; }; readonly finished: { readonly type: "final"; }; }; }>; //#endregion export { type HomeConfig, type HomeManager, type HomeState, createHomeManager, homeMachine };