import 'dart:typed_data';

enum YoloTensorType { float32, uint8, int8, float16, unsupported }

class YoloRuntime {
  const YoloRuntime();

  static Future<YoloRuntime> load(String assetPath) async {
    throw UnsupportedError('YOLO TFLite runtime is only available on mobile.');
  }

  List<int> get inputShape => const [];
  List<int> get outputShape => const [];
  YoloTensorType get inputType => YoloTensorType.unsupported;
  YoloTensorType get outputType => YoloTensorType.unsupported;
  int get outputByteLength => 0;

  void run(Uint8List input, Uint8List output) {
    throw UnsupportedError('YOLO TFLite runtime is only available on mobile.');
  }

  void close() {}
}
