import React from 'react';
import { SCPreferencesContextType } from '../../../types/context';
/**
* Creates Preferences/Features Context
*
:::tip Context can be consumed in one of the following ways:
```jsx
1. {(preferences) => (...)}
```
```jsx
2. const scPreferences: SCPreferencesType = useContext(SCPreferencesContext);
```
```jsx
3. const scPreferences: SCPreferencesType = useSCPreferences();
````
:::
*/
export declare const SCPreferencesContext: React.Context;
/**
* #### Description:
* This component imports all preferences and features enabled.
* @param children
* @return
* ```jsx
* {!loading && children}
* ```
*/
export default function SCPreferencesProvider({ children }: {
children: React.ReactNode;
}): JSX.Element;
/**
* Let's only export the `useSCPreferences` hook instead of the context.
* We only want to use the hook directly and never the context component.
*/
export declare function useSCPreferences(): SCPreferencesContextType;