export { Router, Switch, Route } from "wouter"; import type { NavigateOptions } from "wouter"; /** Returns the current pathname. */ export declare function usePathname(): string; /** Returns the current pathname plus query string. */ export declare function usePathWithSearch(): string; /** Returns a navigate(path) function for programmatic navigation. */ export declare function useNavigate(): (to: string, options?: NavigateOptions) => void; /** Reactive access to the state attached to the current History entry. */ export declare function useNavigationState(): T | null; /** * Extract named params from a route pattern. * Must be called with the pattern that the component expects to match * (e.g. "/units/:unitId"). */ export declare function useParams>(pattern: string): T; //# sourceMappingURL=router.d.ts.map