/**
 * Link Discovery Module
 *
 * Phase 4 Organic Brain Feature
 *
 * Finds memories that have no links and discovers relationships
 * for them during background worker cycles.
 */
import { Memory } from '../memory/types.js';
/**
 * Find memories that have no outgoing links
 * These are candidates for relationship discovery
 *
 * @param limit - Maximum number of memories to return
 * @returns Array of Memory objects with no outgoing links
 */
export declare function findUnlinkedMemories(limit?: number): Memory[];
/**
 * Find memories with few links (under-linked)
 * These might benefit from additional connections
 *
 * @param maxLinks - Maximum number of existing links to qualify
 * @param limit - Maximum number of memories to return
 * @returns Array of Memory objects with fewer than maxLinks links
 */
export declare function findUnderlinkedMemories(maxLinks?: number, limit?: number): Memory[];
/**
 * Discover and create links for unlinked memories
 * Called during medium tick to build the knowledge graph organically
 *
 * @param limit - Maximum number of memories to process per cycle
 * @returns Number of new links created
 */
export declare function discoverMissingLinks(limit?: number): number;
/**
 * Get statistics about memory link coverage
 * Useful for dashboard visualization
 *
 * @returns Object with link coverage stats
 */
export declare function getLinkCoverageStats(): {
    totalMemories: number;
    memoriesWithLinks: number;
    memoriesWithoutLinks: number;
    averageLinksPerMemory: number;
};
