

library;


class ServerSyncSnapshot {
  final String? blob;

  const ServerSyncSnapshot({this.blob});

  bool get isEmpty => blob == null || blob!.trim().isEmpty;
}

abstract class ServerSyncGateway {


  Future<ServerSyncSnapshot> pull({
    required String baseUrl,
    required String accessToken,
  });


  Future<void> push({
    required String baseUrl,
    required String accessToken,
    required String blob,
  });
}
