/** * Extends the Performance interface to include the memory property. */ export interface PerformanceWithMemory extends Performance { memory?: { usedJSHeapSize: number; }; } /** * Gets the memory usage based on the environment. * @returns The current memory usage in bytes, or undefined if not supported. */ export declare function getMemoryUsage(): number | undefined;