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

export interface UseCarouselContext extends UseCarouselReturn {}

export const [CarouselProvider, useCarouselContext] = createContext<UseCarouselContext>({
  name: 'CarouselContext',
  hookName: 'useCarouselContext',
  providerName: '<CarouselProvider />',
})
