import { createContext } from '../../utils/create-context.ts'
import type { UseSegmentGroupReturn } from './use-segment-group.ts'

export interface UseSegmentGroupContext extends UseSegmentGroupReturn {}

export const [SegmentGroupProvider, useSegmentGroupContext] =
  createContext<UseSegmentGroupContext>('SegmentGroupContext')
