The persisted exclusions map (never null/undefined).
const excluded = await loadExcludedProducts();
if (excluded[key]) {
// product is ignored
}
export async function loadExcludedProducts(): Promise<ExcludedProductsMap> {
return getExcludedProducts();
}
Load the excluded-products map from IndexedDB. Returns an empty object if the store is empty or the read fails, so callers can treat the result as always-valid.