/**
* The nav persistence port (API §8.1). The pluggable seam a `NavScope` mirrors its
* location through. `href` is the URL-form probe `` needs: present → an
* `` (cmd/ctrl-click falls through); absent → `role="link"`.
*/
import type { SerializedLocation } from '../history.js';
export interface NavAdapter {
readonly kind: 'memory' | 'browser';
read(): SerializedLocation | null;
write(loc: SerializedLocation, opts: {
replace: boolean;
}): void;
/** Remove only this adapter's owned projection when no history entry survives. */
clear(opts: {
replace: boolean;
}): void;
subscribe(onExternalChange: () => void): () => void;
href?(loc: SerializedLocation): string;
}
//# sourceMappingURL=adapter.d.ts.map