import React from 'react';
type PreferencesContext = {
    getPreference: <T = any>(key: string) => Promise<T> | T;
    setPreference: <T = any>(key: string, value: T) => Promise<void>;
};
export declare const PreferencesProvider: React.FC<{
    children?: React.ReactNode;
}>;
export declare const usePreferences: () => PreferencesContext;
export {};
//# sourceMappingURL=index.d.ts.map