export class PermanentUserData { /** * @param {Doc} doc * @param {YMap} [storeType] */ constructor(doc: Doc, storeType?: YMap | undefined); yusers: YMap; doc: Doc; /** * Maps from clientid to userDescription * * @type {Map} */ clients: Map; dss: Map; /** * @param {Doc} doc * @param {number} clientid * @param {string} userDescription * @param {Object} [conf] * @param {function(Transaction, DeleteSet):boolean} [conf.filter] */ setUserMapping(doc: Doc, clientid: number, userDescription: string, { filter }?: { filter?: ((arg0: Transaction, arg1: DeleteSet) => boolean) | undefined; } | undefined): void; /** * @param {number} clientid * @return {any} */ getUserByClientId(clientid: number): any; /** * @param {ID} id * @return {string | null} */ getUserByDeletedId(id: ID): string | null; } import { YMap } from "../types/YMap.js"; import { Doc } from "./Doc.js"; import { DeleteSet } from "./DeleteSet.js"; import { Transaction } from "./Transaction.js"; import { ID } from "./ID.js";