import type { RouteParams } from '../create-pages-utils/inferred-path-types.js'; import type { PathPattern } from '../isomorphic-utils/build-route-href.js'; /** * Read the current route's params, typed from the `from` path, or null when * the current path does not match it. Re-renders when the route path changes. * The result is memoized by path, so its identity changes on navigation to a * different path; read its fields rather than using the object itself as an * effect dependency. */ export declare function useParams({ from, }: { from: Path; }): RouteParams | null;