import React from 'react'; import { SCRoutingContextType } from '../../../types'; /** * Creates Global Context * :::tip Context can be consumed in one of the following ways: ```jsx 1. {(routerLink, routes, url) => (...)} ``` ```jsx 2. const scRoutingContext: SCRoutingContextType = useContext(SCRoutingContext); ``` ```jsx 3. const scRoutingContext: SCRoutingContextType = useSCRouting(); ```` ::: */ export declare const SCRoutingContext: React.Context; /** * #### Description: * This component provides routing context. * @param children * @return * ```jsx * {children} * ``` */ export default function SCRoutingProvider({ children }: { children: React.ReactNode; }): JSX.Element; /** * Let's only export the `useSCTheme` hook instead of the context. * We only want to use the hook directly and never the context component. */ export declare function useSCRouting(): SCRoutingContextType;