This is the documentation of version 0.62.3. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable budgetTypesConst

    budgetTypes: readonly [
        "timeMinutes",
        "remainingChargePCT",
        "spentChargePCT",
        "spentFuelLiters",
        "distanceKM",
    ] = ...

    Every BudgetType, to list them in a picker or validate one.