text: "use strict";
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  const isReadStream_1 = __importDefault(require("./isReadStream"));
  const isFile_1 = __importDefault(require("./isFile"));
  function getFilename(value) {
      if (isReadStream_1.default(value)) {
          return String(value.path);
      }
      if (isFile_1.default(value) && value.name) {
          return value.name;
      }
      return "blob";
  }
  exports.default = getFilename;
  