import { createContext } from '$lib/utils/create-context'
import type { UseStepsReturn } from './use-steps.svelte.ts'

export interface UseStepsContext extends UseStepsReturn {}

export const [StepsProvider, useStepsContext] = createContext<UseStepsContext>({
  name: 'StepsContext',
  hookName: 'useStepsContext',
  providerName: '<StepsProvider />',
})
