import { ComponentType } from 'react';
import type { RouterStore } from '../router/index.js';
export declare function withRouteBlocker<P>(router: RouterStore, Component: ComponentType<P>, Fallback?: ComponentType): ((props: P) => import("react/jsx-runtime").JSX.Element) & {
    displayName: string;
};
//# sourceMappingURL=with-route-blocker.d.ts.map