code: def add_trend(
      x: Float64Array,
      trend: Literal["n", "c", "t", "ct", "ctt"] = ...,
      prepend: bool = ...,
      nobs: None = ...,
      has_constant: Literal["raise", "add", "skip"] = ...,
  ) -> Float64Array:
      ...
  
file_path: arch/arch/utility/timeseries.py
imports: from __future__ import annotations
  from typing import overload
  import numpy
  import pandas
  from arch.typing import Float64Array, Literal, NDArrayOrFrame
label_desc: Use image node_id 3 for calling a global function with example usage: add_trend(x, trend, prepend, nobs, has_constant) without return types