import { Disposable, Event } from '@opensumi/ide-core-browser';
export declare class WindowActivityTimer extends Disposable {
    private readonly window;
    private activityCount;
    private readonly maxInactivityCount;
    private readonly inactivityCheckInterval;
    private inactivityCheckTimer;
    private isActive;
    private readonly activeStateChangedEmitter;
    constructor(window: Window, inactivityLimit?: number, checkInterval?: number);
    get onDidChangeActiveState(): Event<boolean>;
    private setActiveState;
    private setupActivityListeners;
    private resetInactivityTimer;
    private checkInactivity;
    private startInactivityCheck;
    private stopInactivityCheck;
    dispose(): void;
}
//# sourceMappingURL=window-activity-timer.d.ts.map