export interface MemoryResult { source: "topic" | "note" | "daily-log"; id: string; title: string; preview: string; } export interface SearchOptions { query: string; topic?: string; dateRange?: { start: Date; end: Date; }; keyword?: string; limit?: number; } /** * Search memory across topics, notes, and daily logs with bounded results. * Supports filtering by topic, date range, and keyword. * Returns type-safe results with source labels and preview text. * * @param cwd - Project root directory * @param options - Search options including query, filters, and result limit * @returns Array of memory results, bounded by limit (default 20) */ export declare function searchMemory(cwd: string, options: SearchOptions): MemoryResult[];