/** * Paths into the service tree (built by `./lib.js#createService`) for the * user-facing write capabilities that should be disabled when * `context.writesDisabled` is `true`. * * The list is enumerated here so a future change that adds a new write * capability has a single, code-reviewable site to update. `store/add` is kept * for defense-in-depth even though `lib.js` currently strips it via a * destructure-rest (the walker is missing-tolerant). * * @type {ReadonlyArray<{ path: string[], capability: { can: string } }>} */ export const WRITE_PATHS: ReadonlyArray<{ path: string[]; capability: { can: string; }; }>; export function applyWritesDisabled>(service: S): S; //# sourceMappingURL=disable-writes.d.ts.map