/// import { SessionManagerParameters, SessionState } from './types'; declare class SessionManager { private accessTokenUrl; private onAuthenticationRequest; private onAuthenticationRequestAsync; private token; private expDate?; private iatDate?; private tokenLifespanInMilliseconds; private tokenRefreshIntervalHandle; private tokenCheckIntervalHandle; private intervalInMilliseconds; private failedAttemptsNumber; private maxRetryNumber; private tokenValid; private managerInitialized; private managerInitializing; private logger; private subscriptions; private apiUrl?; constructor({ accessTokenUrl, onAuthenticationRequest, onAuthenticationRequestAsync, intervalInMilliseconds, maxRetryNumber, apiUrl, }: SessionManagerParameters); initialize(): void; private authenticateUser; private notifySubscribers; checkTokenRefresh(): NodeJS.Timer; private handleDecodedToken; private getTokenLifespan; destroy(): void; subscribe(callback: (session: SessionState) => void): () => void; get accessToken(): string; get isTokenValid(): boolean; get isManagerInitialized(): boolean; } export default SessionManager;