import type { AtomType } from "../Mutables/atom/atom"; import { type NavigableSuperAtomType } from "./navigableAtom"; /** * Creates a reactive superAtom holding the current `window.location.pathname`. * * Public `set` / `update` are wired (via {@link wireAtomToNavigate} in * RouterUtils) to `navigateTo`. The optional second argument is `replace` * (default `false` for path — push). Use `originalSet` for direct atom writes * (navigateTo sync, popstate). * * Browser history sync (popstate / hashchange) is owned by * {@link createNavigateTo} so guards can intercept before atoms update. * * @param navigationLocked - When true, beforeunload guard is active. */ export declare function createPathAtom(navigationLocked: AtomType): NavigableSuperAtomType; //# sourceMappingURL=pathAtom.d.ts.map