/** * Throttle class for limiting render frequency. * Uses high-resolution time (hrtime) for accurate throttling. */ export declare class Throttle { private lastFrameTime; private minFrameInterval; private fps; constructor(fps?: number); /** * Update the target FPS */ setFps(fps: number): void; /** * Check if we should render now based on throttle settings. * Returns true if enough time has passed since last render. */ shouldRender(): boolean; /** * Get time remaining until next frame can be rendered (in milliseconds). * Useful for scheduling the next render. */ timeUntilNextFrame(): number; /** * Reset the throttle (useful for testing or after long pauses) */ reset(): void; } //# sourceMappingURL=throttle.d.ts.map