Adds a mapping between an alias and a full track name.
The alias to associate.
The full track name to associate.
:TrackAliasError if the alias or name is already mapped to a different value.
Checks if the map contains a given alias.
The alias to check.
True if the alias exists, false otherwise.
Checks if the map contains a given full track name.
The full track name to check.
True if the name exists, false otherwise.
Gets the alias for a given full track name.
The full track name to look up.
The associated alias.
:TrackAliasError if the name does not exist.
Gets the full track name for a given alias.
The alias to look up.
The associated full track name.
:TrackAliasError if the alias does not exist.
Removes a mapping by alias.
The alias to remove.
The removed full track name, or undefined if not found.
Removes a mapping by full track name.
The full track name to remove.
The removed alias, or undefined if not found.
A bidirectional map between track aliases (bigint) and full track names. Used to efficiently look up either by alias or by name, enforcing uniqueness.