export interface APIDocEntry { name: string; kind: 'class' | 'function' | 'interface' | 'type' | 'enum' | 'const'; module: string; description: string; params?: Array<{ name: string; type: string; description: string; optional: boolean; }>; returns?: string; example?: string; since: string; deprecated?: string; } export interface APIDocModule { name: string; path: string; description: string; entries: APIDocEntry[]; } /** Engine module manifest — used for documentation generation. */ export declare const ENGINE_MODULES: APIDocModule[]; export declare const ENGINE_VERSION = "1.0.0"; export declare const ENGINE_NAME = "@nice2dev/game-engine"; export interface MigrationGuide { from: string; to: string; changes: MigrationChange[]; } export interface MigrationChange { type: 'breaking' | 'deprecation' | 'new' | 'fix'; module: string; description: string; before?: string; after?: string; } export declare const CHANGELOG: MigrationGuide[]; export interface BenchmarkResult { name: string; iterations: number; totalMs: number; avgMs: number; minMs: number; maxMs: number; opsPerSecond: number; } export declare function runBenchmark(name: string, fn: () => void, iterations?: number): BenchmarkResult; export declare function formatBenchmark(result: BenchmarkResult): string; export interface EngineCapabilities { webgl: boolean; webgl2: boolean; webgpu: boolean; webAudio: boolean; gamepad: boolean; touch: boolean; webrtc: boolean; webSocket: boolean; sharedArrayBuffer: boolean; offscreenCanvas: boolean; pointerLock: boolean; fullscreen: boolean; vibration: boolean; performance: boolean; } export declare function detectCapabilities(): EngineCapabilities; export interface ExportConfig { target: 'web' | 'pwa' | 'electron' | 'capacitor'; minify: boolean; sourceMaps: boolean; treeshake: boolean; splitChunks: boolean; publicPath: string; outputDir: string; serviceWorker: boolean; manifest: boolean; } export declare const DEFAULT_EXPORT_CONFIG: ExportConfig; /** Generate a minimal PWA manifest. */ export declare function generatePWAManifest(name: string, shortName: string, description: string, themeColor?: string): Record;