/// import { Emitter } from '../event-emitter'; interface Options { idleInterval?: number; checkIdleIntervalMs?: number; start?: boolean; } export declare class FocusTimer extends Emitter { private focusStart?; private lastFocusStart?; private isFocused; private idleInterval; private idleIntervalCheck; private checkIdleIntervalMs; private idleMediaTimer; private registered; private interacted; constructor(opts?: Options); startAutocapture: () => void; stopAutocapture: () => void; restart: () => void; private registerListeners; private unregisterListeners; private onBfCacheRestore; private startFocus; private endFocus; private onVisibilityChangeWrapper; checkIdleTime: () => void; get idleTime(): number; get currentFocusTime(): number; /** * This function is only exposed for testing, do not use it. */ onBlur: () => void; onFocus: () => void; /** * This function is only exposed for testing, do not use it. */ onVisibilityChange: (visibilityState: string) => void; /** * This function is only exposed for testing, do not use it. */ pulse: import("lodash").DebouncedFunc<() => void>; checkMedia: () => void; clear(): void; } export {};