/** * brain-memory — User preference slot extraction * * Extracts structured user preferences from conversations: * - Language preferences (e.g., "用中文回复", "Python only") * - Tool preferences (e.g., "喜欢用 VS Code", "不要 Docker") * - Code style preferences (e.g., "用 Prettier", "ESLint strict") * - Communication preferences (e.g., "简短回复", "详细说明") */ import type { MemoryCategory } from "../types"; export interface PreferenceSlot { category: string; key: string; value: string; confidence: number; } export interface PreferenceExtractionResult { slots: PreferenceSlot[]; category: MemoryCategory; } /** * Extract preference slots from conversation text. * Returns structured preferences that can be stored as preference nodes. */ export declare function extractPreferences(text: string): PreferenceExtractionResult; /** * Format preference slots into a node content string for storage. */ export declare function formatPreferencesForStorage(slots: PreferenceSlot[]): string; //# sourceMappingURL=slots.d.ts.map