/** * A stable per-install writer id (the last-write-wins tiebreak stamped into * every payload), persisted in localStorage under `writerId`. * * The id is an unkeyed, clearable attribution label -- never an identity. * * @param [options] {object} * @param [options.storageKeyPrefix] {string} the localStorage key prefix * (defaults to {@link DEFAULT_STORAGE_KEY_PREFIX}) * @returns {string} */ export declare function getWriterId({ storageKeyPrefix }?: { storageKeyPrefix?: string; }): string; /** * Clears the persisted writer id (the clear-data grade of the wipe), so nothing * this library wrote survives in localStorage. Only persistence is touched; the * running session's in-memory id is replaced by * {@link StorageContext.resetWriterId}, because the session keeps running over * its new anonymous replica and its write verbs still have to stamp. * * @param [options] {object} * @param [options.storageKeyPrefix] {string} the localStorage key prefix * (defaults to {@link DEFAULT_STORAGE_KEY_PREFIX}) * @returns {void} */ export declare function clearPersistedWriterId({ storageKeyPrefix }?: { storageKeyPrefix?: string; }): void; //# sourceMappingURL=writerId.d.ts.map