import type { ComponentType } from "react"; /** * Shared types for flow-based wizards * * These types provide the foundation for flow management. * Platform-specific navigation logic (LLD custom navigation, LLM React Navigation) * is implemented in the respective applications. */ export type FlowStep = string; export declare const FLOW_STATUS: { readonly IDLE: "IDLE"; readonly ERROR: "ERROR"; readonly SUCCESS: "SUCCESS"; }; export type FlowStatus = (typeof FLOW_STATUS)[keyof typeof FLOW_STATUS]; export type FlowStepConfig = Readonly<{ id: TStep; canGoBack: boolean; showHeader?: boolean; }>; export type FlowStatusActions = Readonly<{ setStatus: (status: FlowStatus) => void; setError: () => void; setSuccess: () => void; resetStatus: () => void; }>; export type StepRenderer = ComponentType; export type StepRegistry = Partial>; export type FlowConfig = FlowStepConfig> = Readonly<{ stepOrder: readonly TStep[]; stepConfigs: Record; initialStep?: TStep; initialHistory?: TStep[]; }>; //# sourceMappingURL=types.d.ts.map