/** * 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 { EventEmitter } from '@angular/core'; import { InterruptArgs } from './interruptargs'; export declare abstract class InterruptSource { protected attachFn: (source: InterruptSource) => void; protected detachFn: (source: InterruptSource) => void; isAttached: boolean; onInterrupt: EventEmitter; constructor(attachFn?: (source: InterruptSource) => void, detachFn?: (source: InterruptSource) => void); attach(): void; detach(): void; }