import type { DreamingRemConfig } from './config.js';
/**
 * REM phase: cross-session pattern discovery.
 *
 * Scans the short-term store for entries that share query hashes or
 * appear across multiple daily files, then clusters them to identify
 * recurring themes/patterns. Bumps `remHits` on touched entries and
 * optionally writes a pattern summary to DREAMS.md.
 *
 * Runs weekly; expensive but insightful.
 */
export declare function runRemPatterns(params: {
    workspaceDir: string;
    config?: Partial<DreamingRemConfig>;
    now?: Date;
}): Promise<{
    ok: boolean;
    reason: string;
    patternsDiscovered: number;
    entriesAnalyzed: number;
}>;
