/** * Profile Step — ported from KB sleep/steps/profile.ts. * * Regenerates the entity profile for the most-mentioned entity (acting as the * "user profile" in Arcana's schema). Runs after observe so facts are fresh. * * Adapter note: KB uses generateUserProfile / cacheProfile from user-profile.ts * and a time-based freshness gate. Arcana stores the result via * deps.structured.storeEntityProfile. The freshness gate uses the entity with * the highest mentionCount as the profile target (KB's heuristic for "user"). */ import type { MaintainDeps } from '../index.js'; import type { SleepConfig } from '../config.js'; export interface ProfileResult { count: number; processed: number; errors?: string[]; } export declare function runRebuildUserProfile(deps: MaintainDeps, config: SleepConfig): Promise; //# sourceMappingURL=rebuild-user-profile.d.ts.map