import * as React from 'react';
import { type RouteObject } from 'react-router';
import { type RouteDefinition, type RouteMatch, type Variable } from '../types';
interface RouterContextValue {
    routeDefinitions: RouteDefinition[];
    routeObjects: RouteObject[];
    routeDefMap: Map<string, RouteDefinition>;
    defaultPath: string;
    routeMatches: Variable<RouteMatch[]>;
}
export declare function RouterContextProvider({ children, routeDefinitions, routeObjects, routeDefMap, defaultPath, routeMatches, }: {
    children: React.ReactNode;
    routeDefinitions: RouteDefinition[];
    routeObjects: RouteObject[];
    routeDefMap: Map<string, RouteDefinition>;
    defaultPath: string;
    routeMatches: Variable<RouteMatch[]>;
}): React.ReactElement;
export declare function useRouterContext(): RouterContextValue;
export {};
//# sourceMappingURL=context.d.ts.map