text: /*
                         * This header is generated by classdump-dyld 1.5
                         * on Wednesday, October 27, 2021 at 3:16:38 PM Mountain Standard Time
                         * Operating System: Version 13.5.1 (Build 17F80)
                         * Image Source: /System/Library/PrivateFrameworks/CoreSuggestionsInternals.framework/CoreSuggestionsInternals
                         * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. Updated by Kevin Bradley.
                         */
  
  #import <CoreSuggestionsInternals/CoreSuggestionsInternals-Structs.h>
  #import <CoreSuggestionsInternals/SGDHarvestQueue.h>
  
  @protocol OS_dispatch_queue;
  @class NSString, SGDSqlHarvestQueueStore, NSObject, SGDHarvestQueueFileWriter, SGDHarvestQueueFileReader;
  
  @interface SGDHarvestQueueOnDisk : SGDHarvestQueue {
  
  	NSString* _dirPath;
  	SGDSqlHarvestQueueStore* _store;
  	NSObject*<OS_dispatch_queue> _queue;
  	NSObject*<OS_dispatch_queue> _backingQueue;
  	SGDHarvestQueueFileWriter* _writerHighPriority;
  	SGDHarvestQueueFileWriter* _writerLowPriority;
  	SGDHarvestQueueFileReader* _reader;
  	long long _idCounter;
  	AQ _count;
  	AQ _countHighPriority;
  	AQ _maxQueueItems;
  	AQ _pendingWrites;
  	AQ _maxPendingWrites;
  	id _lockStateChangeToken;
  
  }
  
  @property (assign,nonatomic) unsigned long long maxQueueItems; 
  @property (assign,nonatomic) unsigned long long maxPendingWrites; 
  -(void)dealloc;
  -(unsigned long long)count;
  -(void)close;
  -(id)initWithDirectory:(id)arg1 ;
  -(void)addItemWithSourceKey:(id)arg1 messageId:(id)arg2 highPriority:(BOOL)arg3 item:(id)arg4 callback:(/*^block*/id)arg5 ;
  -(void)pop:(/*^block*/id)arg1 ;
  -(void)popHighPriority:(/*^block*/id)arg1 ;
  -(void)popByItemId:(long long)arg1 callback:(/*^block*/id)arg2 ;
  -(void)popBySourceKey:(id)arg1 messageId:(id)arg2 callback:(/*^block*/id)arg3 ;
  -(void)countHighPriorityItems:(unsigned long long*)arg1 lowPriorityItems:(unsigned long long*)arg2 ;
  -(void)writePermafail:(id)arg1 ;
  -(unsigned long long)maxQueueItems;
  -(void)setMaxQueueItems:(unsigned long long)arg1 ;
  -(unsigned long long)maxPendingWrites;
  -(void)setMaxPendingWrites:(unsigned long long)arg1 ;
  -(void)_garbageCollectFilesAsync;
  -(void)markAsFailedWithId:(long long)arg1 ;
  -(void)_unlinkFileWithIdLocked:(int)arg1 ;
  -(void)_openFilesForProcessingWhileLocked;
  -(void)_flushFilesWhileUnlocked;
  -(void)_read:(SCD_Struct_SG21)arg1 fileId:(int)arg2 callback:(/*^block*/id)arg3 ;
  -(void)_processPoppedItemResult:(SCD_Struct_SG22)arg1 callback:(/*^block*/id)arg2 ;
  -(void)deleteWithItemId:(long long)arg1 fileId:(int)arg2 ;
  -(void)_trimPermafailDirectory;
  @end
  
  