"use client";

export class ChatStorage {
  private static _instance: ChatStorage | null = null;

  static getInstance(): ChatStorage {
    if (!ChatStorage._instance) ChatStorage._instance = new ChatStorage();
    return ChatStorage._instance;
  }

  /** @internal */
  static _resetForTests(): void {
    ChatStorage._instance = null;
  }

  // 本地游客消息数量额度逻辑已停用：
  // 游客 / 非游客的发送能力统一以后端返回的积分状态为准。
}
