/** * Import warmup module for Godot MCP Enhanced. * * Godot headless mode does NOT run the resource import pipeline, * so `.godot/imported/` may be missing or stale, causing `load()` to fail. * * This module detects stale/missing imported resources and runs * `godot --headless --import` to warm up the cache before execution. */ /** * Reset import cache — for test isolation. */ export declare function resetImportCache(): void; /** * Check whether a project needs an import warmup run. * * Returns true when: * 1. `GODOT_MCP_AUTO_IMPORT=false` is NOT set, AND * 2. `.godot/imported/` does not exist, OR new asset files have been detected * (based on mtime comparison with cached state). */ export declare function needsImport(projectPath: string): boolean; /** * Run `godot --headless --import` to warm up the resource import cache. * * @throws Error if the import process fails or times out. */ export declare function runImport(projectPath: string, godotPath: string, timeoutMs?: number): Promise;