/** * SSR Router Wrapper for Testing * * Provides a MemoryRouter context for components that use React Router hooks * like useLocation, useNavigate, etc. This wrapper ensures components can be * tested in SSR environments where they would normally have a router context. */ import React from "react"; export interface SSRRouterWrapperProps { children: React.ReactNode; initialEntries?: string[]; } /** * Wrapper component that provides React Router context for SSR testing * Uses MemoryRouter which works in Node.js environments */ export declare const SSRRouterWrapper: React.FC; /** * Higher-order component that wraps a component with Router context * Useful for components that always need router context */ export declare function withSSRRouter

(Component: React.ComponentType

, defaultProps?: Partial

): React.ComponentType

; //# sourceMappingURL=ssr-router-wrapper.d.ts.map