import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
import type { DirectionsStringType } from "./types.js";

export interface DirectionsStringProperties extends JSONSupportMixinProperties, Partial<Pick<DirectionsString, "text" | "type">> {}

/** An event string object with name and type. */
export default abstract class DirectionsString extends JSONSupport {
  /** The direction text. */
  accessor text: string;
  /** The type of event. */
  type: DirectionsStringType;
}