import type { SuperAtomType } from "../Mutables/atom/atom"; import { type AtomType } from "../Mutables/atom/atom"; import { type NavigableAtomType } from "./navigableAtom"; /** * Creates a `paramsAtom` computed from `pathAtom` + the matched route pattern * (`patternsAtom`). * * Kept synchronous (not `atom(() => …)`) so that when the router sets * `patternsAtom` during a template render, `paramsAtom` already reflects the * new params for that same render pass. * * Public `set` / `update` are wired to `navigateTo` (via buildPath) in * RouterUtils. Internal sync uses `originalSet`. * * @example * const paramsAtom = createParamsAtom(pathAtom, patternsAtom); * // patternsAtom = "/users/:id", path = "/users/42" → { id: "42" } */ export declare function createParamsAtom(pathAtom: SuperAtomType, patternsAtom: AtomType): NavigableAtomType>; //# sourceMappingURL=paramsAtom.d.ts.map