import 'dart:typed_data';

abstract class ConnectFileStorage {
  /// Persists proof bytes locally and returns the reference the completion
  /// request carries.
  Future<String> saveProof(String name, Uint8List bytes);

  Future<Uint8List?> readProof(String reference);

  Future<bool> deleteProof(String reference);

  Future<String> proofDirectory();
}
