import React from 'react'; import * as model from './model'; export declare type State = { location: model.Location; locations?: model.Location[]; match?: model.Match; viewport?: Object; }; declare type Value = { state: State; dispatch: ({}: { type: string; payload: Object; }) => void; }; export declare const RouterContext: React.Context; export declare const RouterProvider: ({ locations, location, viewport, match, children, }: State & { children: React.ReactNode; }) => JSX.Element; declare type WithRouterProps = {}; export declare const withRouter:

(Component: React.ComponentType

) => React.FunctionComponent

; export {};