// LayersSKANCompat.h
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LayersSKANCompat : NSObject

// Update conversion/fine value using the best available SKAdNetwork API.
// Calls completion with an NSError when the underlying API reports one, or nil on success/fallback.
+ (void)updateConversionValue:(NSInteger)value
                   completion:(void (^ _Nullable)(NSError * _Nullable error))completion;

// Update postback with fine/coarse/lock using the best available SKAdNetwork API.
// coarseString accepts @"low" | @"medium" | @"high" (case-insensitive) or nil.
+ (void)updatePostbackConversionValue:(NSInteger)fineValue
                         coarseString:(NSString * _Nullable)coarseString
                            lockWindow:(BOOL)lockWindow
                             completion:(void (^ _Nullable)(NSError * _Nullable error))completion;

@end

NS_ASSUME_NONNULL_END
