import type { GraphStore } from '@astrale-os/sdk/client/store'; import type { Node } from '@astrale-os/sdk/graph/node'; import type { PathLike } from '@astrale-os/sdk/graph/path'; import type { Key } from '@astrale-os/sdk/schema'; import type { Shell } from '@astrale-os/shell'; import type { NavHistory, SerializedLocation } from './history.js'; /** Canonical navigation inputs; there is no implicit slash-tree or bare-id grammar. */ export type NavTarget = PathLike | Node | { readonly node: PathLike | Node; readonly view?: Key.View; readonly params?: Record; }; /** Normalize every target to canonical astrale-node-path-v1 text. */ export declare function serializeTarget(target: NavTarget): SerializedLocation; /** Drop restored entries that no longer resolve under the authenticated Graph capability. */ export declare function revalidateAndPrune(history: NavHistory, store: GraphStore, shell: Shell): Promise; //# sourceMappingURL=snapshot.d.ts.map