tarot-mcp-server
Version:
Model Context Protocol server for Rider-Waite tarot card readings
37 lines (36 loc) • 890 B
TypeScript
import { TarotSession, TarotReading } from "./types.js";
/**
* Manages tarot reading sessions
*/
export declare class TarotSessionManager {
private sessions;
constructor();
/**
* Create a new session
*/
createSession(): TarotSession;
/**
* Get an existing session
*/
getSession(sessionId: string): TarotSession | undefined;
/**
* Add a reading to a session
*/
addReadingToSession(sessionId: string, reading: TarotReading): void;
/**
* Get all readings from a session
*/
getSessionReadings(sessionId: string): TarotReading[];
/**
* Clean up old sessions (older than 24 hours)
*/
cleanupOldSessions(): void;
/**
* Generate a unique session ID
*/
private generateSessionId;
/**
* Get session count (for debugging/monitoring)
*/
getSessionCount(): number;
}