import type { JSONSupport } from "../../core/JSONSupport.js";
import type { NetworkAttributeUnit } from "./types.js";

export default abstract class NetworkAttribute extends JSONSupport {
  /** The name of the network attribute to use for the drive time when computing directions. */
  name: string | null;
  /** The units to use when calculating drive time for directions. */
  units: NetworkAttributeUnit | null;
}