/** * ng2-idle - A module for responding to idle users in Angular2 applications. # @author Mike Grabski (http://mikegrabski.com/) * @version v1.0.0-alpha.18 * @link https://github.com/HackedByChinese/ng2-idle.git#readme * @license MIT */ import { InterruptArgs } from './interruptargs'; import { InterruptSource } from './interruptsource'; export declare class Interrupt { source: InterruptSource; private sub; constructor(source: InterruptSource); subscribe(fn: (args: InterruptArgs) => void): void; unsubscribe(): void; resume(): void; pause(): void; }