A single import that brings the whole shared core and utility layer into scope.

import fivem.shared.Core;

Thread.create(() -> {
    var spawn = new Vector3(-269.4, -955.3, 31.2);
    Logger.info("spawn", spawn.toString());
});

Importing a Haxe module imports every type it declares, and everything here is a plain alias — so this costs nothing at runtime and the aliased types remain usable under their full paths too.

Import fivem.client.Core or fivem.server.Core alongside this for the environment-specific classes; both already re-export the shared types, so one import is usually enough.

Citizen, Runtime and CoreEvents are deliberately not aliased here: they are modules in this same package, and a same-named alias would clash with them. Import those directly when you need the raw externs.

The Core class itself is empty — it exists only so the module has a type matching its filename. The aliases below are the point of this file.