import { apiRequest } from '../lib/api'
import type { BusinessCategoriesResponse } from '../types/category'

export async function listBusinessCategories(signal?: AbortSignal) {
  return apiRequest<BusinessCategoriesResponse>('/business-categories', { auth: true, signal })
}
