import { Platform } from '../types'; /** * Detects the current JavaScript runtime platform */ export declare function detectPlatform(): Platform; /** * Checks if Worker Threads are supported in the current environment */ export declare function supportsWorkerThreads(): boolean; /** * Checks if Transferable Objects are supported */ export declare function supportsTransferableObjects(): boolean; /** * Gets the optimal number of workers for the current platform */ export declare function getOptimalThreadCount(): number; /** * Checks if the current environment supports OffscreenCanvas */ export declare function supportsOffscreenCanvas(): boolean; /** * Checks if the current environment supports Web Locks API */ export declare function supportsWebLocks(): boolean; /** * Gets platform-specific performance timestamp */ export declare function getHighResTimestamp(): number; /** * Platform-specific memory usage information */ export interface MemoryInfo { used: number; total: number; available: number; } /** * Gets memory information for the current platform */ export declare function getMemoryInfo(): MemoryInfo | null; export declare class PlatformUtils { static detectPlatform: typeof detectPlatform; static supportsWorkerThreads: typeof supportsWorkerThreads; static supportsTransferableObjects: typeof supportsTransferableObjects; static getOptimalWorkerCount: typeof getOptimalThreadCount; static supportsOffscreenCanvas: typeof supportsOffscreenCanvas; static supportsWebLocks: typeof supportsWebLocks; static getHighResTimestamp: typeof getHighResTimestamp; static getMemoryInfo: typeof getMemoryInfo; } //# sourceMappingURL=platform.d.ts.map