/** * An interface representing a single value for a single refinement. */ export interface RefinementValue { /** * An identifier for the value. This may not be a human-readable title. * * @example "womens-accessories-scarves" */ value: string; /** * A human-readable label for the value. * * @example "Scarves" */ label: string; /** * Whether this refinement is currently selected. */ isSelected: boolean; /** * The number of products within an index that match the refinement value. * * @example 4 */ count?: number; /** * The identifier of the refinement group that this belongs to. This may not be a human-readable title. * * @example "filter.v.availability" */ refinementGroupId?: string; }