class LocalOcrScansTracker {

    public void decrementRemainingScans() {
        if (getRemainingScans() > 0) {
            sharedPreferences.get().edit().putInt(KEY_AVAILABLE_SCANS, getRemainingScans() - 1).apply();
            remainingScansSubject.onNext(getRemainingScans());
        }
    }

    @Inject public  LocalOcrScansTracker(@NonNull Lazy<SharedPreferences> sharedPreferences);
    @VisibleForTesting  LocalOcrScansTracker(@NonNull Lazy<SharedPreferences> sharedPreferences,
                         @NonNull Scheduler firstLocalScanReadScheduler);

}