import type { JSONSupport } from "../../core/JSONSupport.js"; import type { NetworkAttributeUnit } from "./types.js"; export interface NetworkAttributeProperties extends Partial> {} /** @since 5.0 */ export default class NetworkAttribute extends JSONSupport { constructor(properties?: NetworkAttributeProperties); /** * The name of the network attribute to use for the drive time when computing directions. * * @since 5.0 */ name: string | null; /** * The units to use when calculating drive time for directions. * * @since 5.0 */ units: NetworkAttributeUnit | null; }