/**
 * String Interning Pool
 *
 * Reduces memory by deduplicating identical strings.
 * Especially useful for repeated agent names, status values, etc.
 */
export declare class StringPool {
    private pool;
    private maxLength;
    private maxSize;
    private stats;
    /**
     * Intern a string - returns the canonical instance
     * Type-safe version that preserves the input type
     */
    intern<T extends string>(str: T): T;
    /**
     * Get pool statistics
     */
    getStats(): {
        interns: number;
        hits: number;
        misses: number;
        skipped: number;
        hitRate: number;
        poolSize: number;
    };
    /**
     * Clear the pool
     */
    clear(): void;
    /**
     * Prewarm with common strings
     */
    prewarm(strings: string[]): void;
}
/**
 * Global string pool
 */
export declare const stringPool: StringPool;
