/** * Hook to extract URL parameters that works with both remapped and non-remapped paths. * Router-agnostic: uses window.location + path-to-regexp directly (no react-router-dom needed). * * @param internalPath - The internal path pattern (e.g., "/hello-with-param/:myparam") * @returns Parameters object with extracted values * * @example * ```tsx * function HelloWithParamPage() { * // Works for both /hello-with-param/test AND /myremap/test * const { myparam } = useRemappableParams<{ myparam: string }>('/hello-with-param/:myparam'); * return
Parameter: {myparam}
; * } * ``` */ export declare function useRemappableParams>(internalPath: string): Partial;