/** * Copyright (c) 2026 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ /** Runtime platform detection. */ interface SystemNamespace { /** * Numeric identifier for the current platform. * Compare against the `System.PLATFORM_*` constants. * * @example * if (System.platform === System.PLATFORM_PSP) { useLowResAssets(); } */ readonly platform: number; readonly PLATFORM_LINUX: number; readonly PLATFORM_KNULLI: number; readonly PLATFORM_PSP: number; readonly PLATFORM_GAMECUBE: number; readonly PLATFORM_WII: number; } /** Platform detection and system-level information. */ declare var System: SystemNamespace;