import type { AtomType } from "../Mutables/atom/atom"; /** Anything that owns `patternsAtom` — typically `RouterUtils` / `MatesUtils`. */ export type MatchedPatternScope = { patternsAtom: AtomType; }; /** * Record the currently matched route pattern on a router scope. * * Pure helper — callers (Router / animatedRouter) resolve the scope and pass it in. * Drives `paramsAtom` (computed from `pathAtom` + `patternsAtom`). * Pass `null` (or `"*"` for animated not-found) to clear. * * No-ops when the pattern is unchanged so repeated matching during * template render does not notify subscribers. */ export declare function setMatchedPattern(scope: MatchedPatternScope, pattern: string | null): void; //# sourceMappingURL=setMatchedPattern.d.ts.map