import type { ReactNode } from 'react';
import type { createBrowserRouter } from 'react-router-dom';
/**
 * Router type from createBrowserRouter
 */
type AppRouter = ReturnType<typeof createBrowserRouter>;
/**
 * NavigationProvider props
 */
interface NavigationProviderProps {
    /** Router instance from createAppRouter() */
    router: AppRouter;
    /** Optional children (for compatibility, but RouterProvider doesn't use them) */
    children?: ReactNode;
}
/**
 * NavigationProvider - RouterProvider wrapper with auto-abort
 *
 * Automatically cancels pending requests and closes overlays when navigating.
 * Uses React Router v7's data router pattern with navigation subscription.
 *
 * @param props - NavigationProvider props
 * @returns RouterProvider with auto-abort functionality
 *
 * @example
 * ```tsx
 * const router = createAppRouter(HomePage, '/app');
 * <NavigationProvider router={router}>
 * <DnDevLayout />
 * </NavigationProvider>
 * ```
 *
 * @version 0.0.1
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
export declare function NavigationProvider({ router }: NavigationProviderProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=NavigationProvider.d.ts.map