import * as React from 'react'; import type { Action, Location, ReactRouterInstrumentation } from './types'; declare type Match = { path: string; url: string; params: Record; isExact: boolean; }; export declare type RouterHistory = { location?: Location; listen?(cb: (location: Location, action: Action) => void): void; } & Record; export declare type RouteConfig = { [propName: string]: any; path?: string | string[]; exact?: boolean; component?: JSX.Element; routes?: RouteConfig[]; }; declare type MatchPath = (pathname: string, props: string | string[] | any, parent?: Match | null) => Match | null; export declare function reactRouterV4Instrumentation(history: RouterHistory, routes?: RouteConfig[], matchPath?: MatchPath): ReactRouterInstrumentation; export declare function reactRouterV5Instrumentation(history: RouterHistory, routes?: RouteConfig[], matchPath?: MatchPath): ReactRouterInstrumentation; export declare function withSentryRouting

, R extends React.ComponentType

>(Route: R): R; export {}; //# sourceMappingURL=reactrouter.d.ts.map