Files
klz-cables.com/.pnpm-store/v10/files/cf/e62c08c0cb24440a57b2c095302efb1485727cc0877bf877d7451926bd254eab0214d1aa6c579745eb8b94224137fbe247645bcd69350bcca4d1ec507f2fa7
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

17 lines
747 B
Plaintext

import React from 'react';
import type { Preferences } from '../../forms/Form/types.js';
type PreferencesContext = {
getPreference: <T = Preferences>(key: string) => Promise<T>;
/**
* @param key - a string identifier for the property being set
* @param value - preference data to store
* @param merge - when true will combine the existing preference object batch the change into one request for objects, default = false
*/
setPreference: <T = Preferences>(key: string, value: T, merge?: boolean) => Promise<void>;
};
export declare const PreferencesProvider: React.FC<{
children?: React.ReactNode;
}>;
export declare const usePreferences: () => PreferencesContext;
export {};
//# sourceMappingURL=index.d.ts.map