import { z } from 'zod';
const completedState = {
    id: 'completed',
    schema: z.object({}),
};
export function defineWizard(steps = []) {
    return {
        addStep(wizardStep) {
            return defineWizard([...steps, wizardStep]);
        },
        build: () => {
            return [...steps, completedState];
        },
    };
}
