import { Session } from "./Session"; import { Message } from "./Message"; import { Instruction } from "./configs"; export declare enum SessionState { Start = 0, Active = 1, Waiting = 2, Paused = 3, Terminated = 4, TopicIdentification = 5, ErrorRecovery = 6, Escalation = 7 } export declare class SessionContext { private session; private state; private messages; private startTime; private lastInteractionTime; private currentTopic; private currentInstruction; constructor(session: Session); addMessage(message: Message): void; setLastInteractionTime(): void; setCurrentTopic(topic: string): void; getCurrentTopic(): string; setCurrentInstruction(instruction: Instruction): void; getCurrentInstruction(): Instruction | null; getMessages(): Message[]; getSession(): Session; getSessionId(): string; updateState(newState: SessionState): void; getState(): SessionState; getLatestMessage(): Message; getStartTime(): Date; getLastInteractionTime(): Date; }