/**
 * Memory Bridge Generator
 *
 * Generates .cleo/memory-bridge.md from brain.db content. This file is
 * @-referenced by CLEO-INJECTION.md so that any provider (Claude Code,
 * OpenCode, Cursor, etc.) automatically loads project memory context.
 *
 * Content assembly:
 *   - Last session handoff summary
 *   - High-confidence learnings
 *   - Active patterns (follow + avoid)
 *   - Recent decisions
 *   - Recent observations
 *
 * Regeneration triggers:
 *   - session.end
 *   - tasks.complete
 *   - memory.observe (high-confidence observations only)
 *   - Manual: cleo refresh-memory
 *
 * @task T5240
 * @epic T5149
 */
/** Configuration for memory bridge content generation. */
export interface MemoryBridgeConfig {
    maxObservations: number;
    maxLearnings: number;
    maxPatterns: number;
    maxDecisions: number;
    includeHandoff: boolean;
    includeAntiPatterns: boolean;
}
/**
 * Generate memory bridge content from brain.db.
 * Returns the markdown string (does not write to disk).
 */
export declare function generateMemoryBridgeContent(projectRoot: string, config?: Partial<MemoryBridgeConfig>): Promise<string>;
/**
 * Write memory bridge content to .cleo/memory-bridge.md.
 */
export declare function writeMemoryBridge(projectRoot: string, config?: Partial<MemoryBridgeConfig>): Promise<{
    path: string;
    written: boolean;
}>;
/**
 * Best-effort refresh: call from session.end, tasks.complete, or memory.observe.
 * Never throws.
 *
 * @param projectRoot - Absolute path to the project root.
 * @param scope - Optional session scope for context-aware generation (T139).
 * @param currentTaskId - Optional current task ID for scoped context (T139).
 */
export declare function refreshMemoryBridge(projectRoot: string, scope?: string, currentTaskId?: string): Promise<void>;
/**
 * Generate context-aware memory bridge content and write to disk.
 *
 * When `brain.memoryBridge.contextAware` is true and a scope is available,
 * uses hybridSearch() to surface memories relevant to the current scope,
 * then enforces the `brain.memoryBridge.maxTokens` budget.
 *
 * Falls back to standard generation if hybrid search is unavailable.
 * Never throws.
 *
 * @param projectRoot - Absolute path to the project root.
 * @param scope - Session scope string (e.g. 'global', 'epic:T###').
 * @param currentTaskId - Optional current task ID for narrower scoping.
 * @task T139 @epic T134
 */
export declare function generateContextAwareContent(projectRoot: string, scope: string, currentTaskId?: string): Promise<void>;
//# sourceMappingURL=memory-bridge.d.ts.map