import { AuthValidationResult } from '../types.js'; /** * Interface for session data */ export interface SessionData { /** The current working directory for the Fluent SDK operations */ workingDirectory?: string; /** The authentication alias to use for ServiceNow instance operations */ authAlias?: string; /** The result of authentication validation */ authValidationResult?: AuthValidationResult; /** Any other session data that might be needed in the future */ [key: string]: unknown; } /** * Manager for Fluent SDK session data * Handles storage and retrieval of session information like working directory * All session data is kept in memory only (not persisted to filesystem) */ export declare class SessionManager { private static instance; private sessionData; private constructor(); /** * Get the SessionManager instance (singleton) * @returns SessionManager instance */ static getInstance(): SessionManager; /** * Reset the session data to empty state */ private resetSession; /** * Get the current working directory from the session * @returns The current working directory or undefined if not set */ getWorkingDirectory(): string | undefined; /** * Set the current working directory in the session * @param directory The directory to set as the working directory */ setWorkingDirectory(directory: string): void; /** * Get the current authentication alias from the session * @returns The current auth alias or undefined if not set */ getAuthAlias(): string | undefined; /** * Set the authentication alias in the session * @param alias The authentication alias to use for ServiceNow operations */ setAuthAlias(alias: string): void; /** * Get the authentication validation result * @returns The auth validation result or undefined if not yet validated */ getAuthValidationResult(): AuthValidationResult | undefined; /** * Set the authentication validation result * @param result The result of auth validation */ setAuthValidationResult(result: AuthValidationResult): void; /** * Clear the session data */ clearSession(): void; } //# sourceMappingURL=sessionManager.d.ts.map