type ReleaseRenderSlot = () => void; /** Acquire one process-wide render slot, preserving FIFO queue order. */ export declare function acquireRenderSlot(): Promise; /** Bound background fetch/validation and the prepared-buffer handoff to rendering. */ export declare function acquireImagePreparationSlot(): Promise; /** Hold one render slot until the complete native image pipeline settles. */ export declare function withRenderSlot(operation: () => Promise): Promise; /** * Prepare background bytes under a separate bound, then atomically hand them * to a native render slot. Queued preparation entries retain no image Buffer. */ export declare function withPreparedRenderSlot(prepare: () => Promise, render: (prepared: Prepared) => Promise): Promise; /** Internal diagnostics used by deterministic limiter tests. */ export declare function getRenderLimiterStats(): { readonly active: number; readonly queued: number; readonly maxActive: 4; readonly maxQueued: 32; readonly preparing: number; readonly preparationQueued: number; readonly maxPreparing: 4; readonly maxPreparationQueued: 32; }; /** Test-only reset. Refuse to orphan active or queued work. */ export declare function resetRenderLimiterForTests(): void; export {};