import { ActivityMonitor } from '../activity-monitor/activity-monitor';
import { PrimariaBroker } from '../broker/primaria-broker';
import { TokenManager } from '../token-manager/token-manager';
export interface SessionRefreshTimer {
    start: () => void;
    stop: () => void;
}
export declare class SessionRefreshTimerImpl implements SessionRefreshTimer {
    private readonly tokenManager;
    private readonly activityMonitor;
    private readonly broker;
    private intervalId;
    private isRefreshing;
    constructor(tokenManager: TokenManager, activityMonitor: ActivityMonitor, broker: PrimariaBroker);
    start: () => void;
    stop: () => void;
    private getTokenExpiry;
    private checkAndRefresh;
}
export declare const createSessionRefreshTimer: (tokenManager: TokenManager, activityMonitor: ActivityMonitor, broker: PrimariaBroker) => SessionRefreshTimer;
