/// import { ComponentClass } from 'react'; import { Store, RouterStoreState } from './Store'; import { Match } from './utils'; import { History, Location } from 'history'; export declare type MagicRouterProviderContext = { routerStore: Store; router: { history: History; }; }; export declare type Decorator

= (Target: any) => ComponentClass

; export declare type InjectedMatch = { match: Match; }; export declare type InjectedLocation = { location: Location; }; export declare type InjectedHistory = { history: History; }; export declare type InjectedAll = InjectedMatch & InjectedLocation & InjectedHistory; export declare type WhatToInject = { match?: boolean; location?: boolean; history?: boolean; }; /** * Render the first Route that match */ export declare function InjectMagicRouter

(options?: WhatToInject): Decorator

;