/**
 * Context Engine
 *
 * Manages context window with compression and retrieval.
 */
export declare class ContextEngine {
    private maxTokens;
    private tokenOptimizer;
    private workingContext;
    private compressedCache;
    constructor(maxTokens?: number);
    /**
     * Add content to context
     */
    add(content: string): void;
    /**
     * Get relevant context for query
     */
    getContext(query: string): string[];
    /**
     * Compress working context
     */
    private compress;
    /**
     * Get total token count
     */
    private getTokenCount;
    /**
     * Simple tokenization
     */
    private tokenize;
    /**
     * Simple similarity (in production use embeddings)
     */
    private similarity;
    /**
     * Simple hash
     */
    private hashString;
    /**
     * Clear context
     */
    clear(): void;
    /**
     * Get all context
     */
    getAll(): string[];
}
export declare const createContextEngine: (maxTokens?: number) => ContextEngine;
