/**
 * Buffer Pool
 *
 * Pools ArrayBuffers for efficient memory reuse.
 * Sizes: 1KB, 4KB, 16KB, 64KB
 */
export declare class BufferPool {
    private pools;
    private readonly sizes;
    private readonly maxPerSize;
    private stats;
    constructor();
    /**
     * Acquire a buffer of at least minSize
     * Returns the buffer and its actual size
     */
    acquire(minSize: number): {
        buffer: ArrayBuffer;
        poolSize: number;
    };
    /**
     * Release a buffer back to the pool
     */
    release(buffer: ArrayBuffer): void;
    /**
     * Get pool statistics
     */
    getStats(): {
        acquires: number;
        releases: number;
        hits: number;
        misses: number;
        hitRate: number;
        poolSizes: Record<number, number>;
    };
    /**
     * Clear all pools
     */
    clear(): void;
    /**
     * Prewarm pools with buffers
     */
    prewarm(countPerSize?: number): void;
}
/**
 * Global buffer pool
 */
export declare const bufferPool: BufferPool;
