import type { SignalContext } from './context.js'; import type { GameMatch } from './types.js'; /** * Detects game projects by engine signature (per spec Section 5.9): * Unity → Assets/ directory containing any *.meta file * Unreal → *.uproject at root * Godot → project.godot at root * Bevy → Cargo.toml with bevy dep → engine: 'custom' * Love2D → conf.lua + main.lua at root → engine: 'custom' * JS games → phaser, babylonjs, or (three + index.html) → engine: 'custom' * * Precedence: Unity > Unreal > Godot > Bevy > Love2D > JS (locked by regression test * in src/project/adopt.test.ts — "Unity wins precedence when multi-engine signatures coexist"). * * IMPORTANT: this detector ONLY uses the SignalContext API — no direct fs/path imports. */ export declare function detectGame(ctx: SignalContext): GameMatch | null; //# sourceMappingURL=game.d.ts.map