import type { ComponentType } from 'react'; import type { RouterType } from '../types/index.js'; interface RouterProps { basename?: string; location?: string; future?: { v7_startTransition: boolean; v7_relativeSplatPath: boolean; }; } export declare const useRouter: (router: RouterType, basePath: string) => { Router: ComponentType<{ children?: import("react").ReactNode | undefined; }>; routerProps: RouterProps; }; export {};