import type { IConsent } from "../consent.interface";
import type { UserConsentState } from "../consent-types";

export function getCategoriesHandler(consent: IConsent): {
  categories: UserConsentState[];
} {
  return { categories: consent.getCategories() };
}
