import { ComputedRef } from 'vue'; import { Ref } from 'vue'; export declare interface StepDefinition { completed: boolean; substeps: Array>; } export declare interface StepperOptions { /** * If true, the stepper will prevent skipping steps */ linear?: boolean; /** * The index of the active step */ activeStep?: number; /** * The index of the active substep */ activeSubstep?: number; /** * The stepper representation as an array of steps and substeps */ steps?: Array; /** * A ref to the stepper element */ ref?: Ref; } declare function useStepper(options?: StepperOptions): { steps: Readonly>; stepCount: ComputedRef; activeStepElement: ComputedRef; activeStepIndex: Ref; activeSubstepIndex: Ref; registerStep: (nested?: boolean) => void; next: () => void; back: () => void; goTo: (stepIndex: number, substepIndex?: number) => void; isStepActive: (stepIndex: number, substepIndex?: number) => boolean; isStepCompleted: (stepIndex: number, substepIndex?: number) => boolean; }; export default useStepper; export { }