/**
 * Context Analyzer - Intelligent detection of current development context
 * Enables context-aware command routing and smart defaults
 */
export interface MCPContextData {
    session_id?: string;
    project_path?: string;
    current_files?: string[];
    recent_activity?: string[];
    time_of_day?: string;
    last_activity?: string;
    project_state?: string;
    user_patterns?: Record<string, any>;
    is_debugging?: boolean;
    is_learning?: boolean;
    claude_context?: Record<string, any>;
}
export declare class MCPContext {
    session_id?: string;
    project_path?: string;
    current_files: string[];
    recent_activity: string[];
    time_of_day: string;
    last_activity?: string;
    project_state: string;
    user_patterns: Record<string, any>;
    is_debugging: boolean;
    is_learning: boolean;
    claude_context: Record<string, any>;
    constructor(data?: Partial<MCPContextData>);
    toMCPContext(): MCPContextData;
}
export declare class ContextAnalyzer {
    private cacheTimeout;
    private contextCache;
    /**
     * Detect current development context with caching
     */
    detectContext(): Promise<MCPContext>;
    private detectBasicContext;
    private detectTimeContext;
    private detectProjectState;
    private detectSessionType;
    private detectRecentActivity;
    private hasTestFiles;
    private hasDocumentationFiles;
    private hasSourceFiles;
    private hasConfigFiles;
    private getCurrentFiles;
    private getRecentCommits;
    private getRecentBranches;
    private getLastCommitTime;
    /**
     * Clear the context cache to force refresh
     */
    clearCache(): void;
    /**
     * Update user patterns based on usage
     */
    updateUserPatterns(patterns: Record<string, any>): void;
}
/**
 * Convenience function to detect current context
 */
export declare function detectCurrentContext(): Promise<MCPContext>;
/**
 * Clear global context cache
 */
export declare function clearContextCache(): void;
/**
 * Update global user patterns
 */
export declare function updateGlobalUserPatterns(patterns: Record<string, any>): void;
//# sourceMappingURL=context-analyzer.d.ts.map