import React from 'react'; import { SCAlertMessagesContextType } from '../../../types'; /** * Creates Global Context * :::tip Context can be consumed in one of the following ways: ```jsx 1. {(options,) => (...)} ``` ```jsx 2. const scAlertMessagesContext: SCAlertMessagesContextType = useContext(SCAlertMessagesContext) ``` ```jsx 3. const scAlertMessagesContext: SCAlertMessagesContextType = useSCAlertMessages(); ```` ::: */ export declare const SCAlertMessagesContext: React.Context; /** * #### Description: * This component makes the `intl` available down the React tree. * @param children * @return * ```jsx * * ``` */ export default function SCAlertMessagesProvider({ children }: { children: React.ReactNode; }): JSX.Element; /** * Let's only export the `useSCAlertMessages` hook instead of the context. * We only want to use the hook directly and never the context component. */ export declare function useSCAlertMessages(): SCAlertMessagesContextType;