export type PublicKey = Uint8Array; export interface UserStorageOptions { id?: Uint8Array | string; } export declare class UserStorage { private readonly mapId; constructor(options?: UserStorageOptions); static fromId(id: Uint8Array | string): UserStorage; id(): string; idBytes(): Uint8Array; insert(value: V): V | null; get(): V | null; getForUser(userKey: PublicKey): V | null; containsCurrentUser(): boolean; containsUser(userKey: PublicKey): boolean; setForUser(userKey: PublicKey, value: V): V | null; remove(): V | null; entries(): Array<[PublicKey, V]>; keys(): PublicKey[]; values(): V[]; size(): number; toJSON(): Record; private setInternal; } //# sourceMappingURL=UserStorage.d.ts.map