import { ResetUserIdleTimeFn } from './types.js';
type WARNLISTENER = {
    (sessionExpiryWarningNotifiedAt: number | null): void;
};
type RESETLISTENER = {
    (resetWarningModal: unknown): void;
};
type LISTENER = {
    (): void;
};
/**
 * reset the UI idle time counter
 * @param resetWarningModal - reset the warning modal
 */
export declare const resetUserIdleTime: ResetUserIdleTimeFn;
/**
 * Extend the PSS session (Encompass session) by introspecting the token
 * also reset the UI idle time counter
 */
export declare const renewSession: () => Promise<void>;
export declare const stopSessionMonitoring: () => void;
export declare const addEventListeners: () => void;
export declare const initSessionMonitoring: () => void;
export declare const subscribeToSessionExpiryWarning: (onSessionExpiryWarn: WARNLISTENER) => () => void;
export declare const subscribeToSessionExpiry: (onSessionExpiry: LISTENER) => () => void;
export declare const subscribeToResetSession: (onResetListener: RESETLISTENER) => () => void;
export declare const trackActivity: (element: Document | null, cb: (...args: unknown[]) => unknown) => () => void;
export {};
