/**
 * TransportPool - Cache and manage transport connections
 *
 * Limits:
 * - Max 10 concurrent transports
 * - LRU eviction when full
 */
import type { RootEndpoint } from './root_registry';
export interface PooledTransport {
    endpoint: RootEndpoint;
    transport: any;
    lastUsed: number;
}
export declare class TransportPool {
    private _pool;
    private _maxSize;
    /**
     * Get a transport for a realm, or null if not pooled.
     */
    get(root: string): PooledTransport | null;
    /**
     * Add a transport to the pool.
     * Evicts LRU if at capacity.
     */
    set(root: string, endpoint: RootEndpoint, transport: any): void;
    /**
     * Remove a transport from the pool.
     */
    remove(root: string): void;
    /**
     * Get pool size.
     */
    get size(): number;
    /**
     * Clear all pooled transports.
     */
    clear(): void;
    private _evictLRU;
}
//# sourceMappingURL=transport_pool.d.ts.map