import { FC, ReactNode } from 'react';
import { PageRequest, RequestParameters, RequestState } from './types';
import { RoutingContextValue } from './RoutingContext';
export declare const requestChangeFactory: <P extends RequestParameters>(pageName: string, parameters?: P | undefined) => (currentState: RequestState) => PageRequest<P>;
export declare const CurrentRequestContext: React.Context<RequestState>;
export declare const PushRequestContext: React.Context<(req: RequestState) => void>;
export declare const useCurrentRequest: () => RequestState;
export declare const usePushRequest: () => (req: RequestState) => void;
export declare const RequestProvider: FC<{
    children: ReactNode;
}>;
export declare const populateRequest: (routing: RoutingContextValue, location: Location) => RequestState;
//# sourceMappingURL=RequestContext.d.ts.map