import React from 'react';
import { SCNotificationContextType } from '../../../types';
/**
 * Create Global Context
 * Consuming this context in one of the following ways:
 *  1. <SCNotificationContext.Consumer>
 *       {(wsInstance, subscribe,) => (...)}
 *     </SCNotificationContext.Consumer>
 *  2. const scNotificationContext: SCNotificationContextType = useContext(SCNotificationContext);
 *  3. const scNotificationContext: SCNotificationContextType = useSCNotification();
 */
export declare const SCNotificationContext: React.Context<SCNotificationContextType>;
/**
 * This component makes the notification context available down the React tree.
 */
export default function SCNotificationProvider({ children }: {
    children: React.ReactNode;
}): JSX.Element;
/**
 * Let's only export the `useSCNotification` hook instead of the context.
 * We only want to use the hook directly and never the context component.
 */
export declare function useSCNotification(): SCNotificationContextType;
//# sourceMappingURL=index.d.ts.map