import { RouteComponentProps } from 'react-router-dom';
declare type RRLocation = RouteComponentProps['location'] & {
    [key: string]: any;
};
export declare const prevent: (location: RRLocation) => void;
export declare const hasBeenPrevented: (location: RRLocation) => boolean;
export declare const shouldPrevent: (location: RRLocation) => boolean;
export {};
