import React, { FunctionComponent } from 'react'; import type { ContextProps, GlobalState } from './GlobalContext.types'; import type { TAction } from '../constants/action'; export declare const GlobalContext: React.Context<{ state: GlobalState; dispatch: React.Dispatch; } | undefined>; declare const RowndProvider: FunctionComponent; declare function useRowndContext(): { state: GlobalState; dispatch: React.Dispatch; }; export { RowndProvider, useRowndContext };