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

    Type Alias SearchSuggestionKind

    SearchSuggestionKind:
        | "place"
        | "address"
        | "street"
        | "area"
        | "brand"
        | "category"

    The kinds of thing getSearchSuggestions can return.

    place, address, street and area are locations, and PlaceSuggestion.resolve gets the full place. brand and category are refinements, which narrow a follow-up query instead of naming a location. Narrow on kind to tell them apart.