/** Reads frames through the engine's `getScreenImage` latch. */ export declare class FrameCapture { #private; /** * Attaches the engine whose frames are captured. * @param {any} hydra */ attach(hydra: any): void; /** Detaches the engine, rejecting any in-flight capture. */ detach(): void; /** * Captures the next rendered frame as a PNG blob. * @param {() => boolean} isLoopRunning * @returns {Promise} */ capture(isLoopRunning: () => boolean): Promise; }