import type { ProductVariantAttribute, Size } from '@farfetch/blackout-client'; export type AttributesAdapted = { id: number; name: string; scale: number; scaleDescription: string; scaleAbbreviation: string; globalQuantity: number; } | Record; export type AdaptAttributes = (attributes: ProductVariantAttribute[], sizes?: Size[]) => AttributesAdapted;