import React from "react"; export interface WizardStep { id: string; title: string; description?: string; icon?: React.ReactNode; content: React.ReactNode; validation?: () => boolean | Promise; optional?: boolean; disabled?: boolean; } export type WizardData = Record; export interface GlassWizardProps { /** * Wizard steps */ steps?: WizardStep[]; /** * Current step index */ currentStep?: number; /** * Callback when step changes */ onStepChange?: (stepIndex: number) => void; /** * Callback when wizard completes */ onComplete?: (data?: WizardData) => void; /** * Callback when wizard is cancelled */ onCancel?: () => void; /** * Wizard title */ title?: string; /** * Wizard description */ description?: string; /** * Show step navigation */ showStepNavigation?: boolean; /** * Show step progress */ showProgress?: boolean; /** * Allow step skipping */ allowSkip?: boolean; /** * Custom next button text */ nextButtonText?: string; /** * Custom previous button text */ previousButtonText?: string; /** * Custom complete button text */ completeButtonText?: string; /** * Custom cancel button text */ cancelButtonText?: string; /** * Loading state */ loading?: boolean; /** * Custom className */ className?: string; /** * Custom style */ style?: React.CSSProperties; /** * Step validation mode */ validationMode?: "onChange" | "onNext"; /** * Reduces spacing and minimum heights for card previews and dense panels. */ compact?: boolean; } interface WizardContextValue { currentStep: number; steps: WizardStep[]; goToStep: (stepIndex: number) => void; goToNext: () => void; goToPrevious: () => void; isStepValid: (stepIndex: number) => boolean; isStepCompleted: (stepIndex: number) => boolean; completeWizard: () => void; cancelWizard: () => void; data: WizardData; setData: (data: WizardData) => void; } export declare const useWizard: () => WizardContextValue | { currentStep: number; totalSteps: number; nextStep: () => void; previousStep: () => void; goToStep: () => void; isFirstStep: boolean; isLastStep: boolean; data: {}; setData: () => void; }; /** * GlassWizard component * A multi-step form wizard with glassmorphism styling and comprehensive features */ export declare const GlassWizard: React.FC; export interface GlassWizardStepProps { step: WizardStep; children: React.ReactNode; className?: string; } export declare const GlassWizardStep: React.FC; export interface GlassWizardStepperProps { steps: WizardStep[]; currentStep: number; completedSteps?: Set; className?: string; } export declare const GlassWizardStepper: React.FC; export default GlassWizard; //# sourceMappingURL=GlassWizard.d.ts.map