import type { Message } from '../core/types'; export interface UserProfile { preferences: Record; communication_style: string; expertise_areas: string[]; common_requests: string[]; last_updated: number; } /** * DeepBrain-powered user profiling from conversation signals. */ export declare class UserProfiler { private observationCount; private signals; private readonly LEARN_INTERVAL; /** * Detect language mix of a text. */ private detectLanguage; /** * Detect technical level from content. */ private detectTechLevel; /** * Detect communication style. */ private detectStyle; /** * Extract domain keywords. */ private extractDomainKeywords; /** * Classify request type. */ private classifyRequest; /** * Observe a user message and accumulate profile signals. */ observe(message: Message, brain?: any): Promise; private buildProfileFromSignals; /** * Get user profile, optionally from brain recall. */ getProfile(brain?: any): Promise; /** * Enhance a system prompt with user profile context. */ enhance(systemPrompt: string, profile: UserProfile): string; /** * Generate USER.md content from the current profile. */ toMarkdown(profile: UserProfile): string; /** * Save USER.md to the given directory. */ saveUserMd(dir: string, profile?: UserProfile): Promise; } //# sourceMappingURL=user-profiler.d.ts.map